Skip to content
This repository has been archived by the owner on Jun 20, 2024. It is now read-only.

Commit

Permalink
update @ Mon 16 May 22:01:15 EEST 2022
Browse files Browse the repository at this point in the history
Signed-off-by: Ari Archer <[email protected]>
  • Loading branch information
Ari Archer committed May 16, 2022
1 parent a7ee4b8 commit 86d0c3f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion baz_loader.sht
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,10 @@ export __BAZ_STAGES=(
)

__baz_loader() {
[ -z "$(ls -A -- '#{BAZ_PLUG_DIR}' 2>/dev/null)" ] && __baz_vecho 'No plugin dir found' && return 1
if [ -z "$(ls -A -- '#{BAZ_PLUG_DIR}' 2>/dev/null)" ] || [ ! -d '#{BAZ_PLUG_DIR}' ]; then
__baz_vecho 'No plugin dir found'
return 1
fi

__baz_vecho "Loading baz from data dir: #{BAZ_DATA_DIR_SMALL}"

Expand Down

0 comments on commit 86d0c3f

Please sign in to comment.