aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Homebrew/cmd')
-rw-r--r--Library/Homebrew/cmd/update.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/Library/Homebrew/cmd/update.rb b/Library/Homebrew/cmd/update.rb
index c15dfa042..8b2d2e3d4 100644
--- a/Library/Homebrew/cmd/update.rb
+++ b/Library/Homebrew/cmd/update.rb
@@ -19,6 +19,8 @@ module Homebrew extend self
new_files = []
Dir["Library/Taps/*"].each do |tapd|
+ next unless File.directory?(tapd)
+
cd tapd do
begin
updater = Updater.new