aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike McQuaid2017-04-22 21:43:45 +0100
committerMike McQuaid2017-04-22 21:43:45 +0100
commite8ef50d0750b8e3b36427e2fc8878fbcd6f3f443 (patch)
treefd23a786ad95936b252041e2c9c0cbdc4de9eff0
parent5bf0745ece76421b8be4e34619d25b3594190036 (diff)
downloadbrew-e8ef50d0750b8e3b36427e2fc8878fbcd6f3f443.tar.bz2
readall: fix tapping taps without aliases.
Fixes https://github.com/caskroom/homebrew-cask/issues/32840. Fixes https://github.com/Homebrew/brew/issues/2529.
-rw-r--r--Library/Homebrew/readall.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/readall.rb b/Library/Homebrew/readall.rb
index a26a4d60c..ddac58444 100644
--- a/Library/Homebrew/readall.rb
+++ b/Library/Homebrew/readall.rb
@@ -25,7 +25,7 @@ module Readall
end
def valid_aliases?(alias_dir, formula_dir)
- return false unless alias_dir.directory?
+ return true unless alias_dir.directory?
failed = false
alias_dir.each_child do |f|