diff options
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/cmd/tap.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Library/Homebrew/cmd/tap.rb b/Library/Homebrew/cmd/tap.rb index 52e03ca17..23bef96d2 100644 --- a/Library/Homebrew/cmd/tap.rb +++ b/Library/Homebrew/cmd/tap.rb @@ -88,6 +88,8 @@ module Homebrew extend self end puts "Pruned #{count} dead formula" + return unless HOMEBREW_REPOSITORY.join("Library/Taps").exist? + count = 0 # check symlinks are all set in each tap HOMEBREW_REPOSITORY.join("Library/Taps").children.each do |tap| |
