Skip to content

Commit

Permalink
items.sh: return early when no Taps directory
Browse files Browse the repository at this point in the history
  • Loading branch information
cho-m committed Dec 19, 2022
1 parent 7d04dd9 commit 04a61fb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Library/Homebrew/items.sh
Expand Up @@ -17,6 +17,7 @@ homebrew-items() {

# HOMEBREW_REPOSITORY is set by brew.sh
# shellcheck disable=SC2154
[[ -d "${HOMEBREW_REPOSITORY}/Library/Taps" ]] || return
items="$(
find "${HOMEBREW_REPOSITORY}/Library/Taps" \
-type d \( \
Expand Down

0 comments on commit 04a61fb

Please sign in to comment.