aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/formula.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Homebrew/formula.rb b/Library/Homebrew/formula.rb
index 60c9fa65a..7e6234922 100644
--- a/Library/Homebrew/formula.rb
+++ b/Library/Homebrew/formula.rb
@@ -649,8 +649,8 @@ class Formula
HOMEBREW_CELLAR.subdirs.map do |rack|
begin
- Formulary.factory(rack.basename.to_s)
- rescue FormulaUnavailableError
+ Formulary.from_rack(rack)
+ rescue FormulaUnavailableError, TapFormulaAmbiguityError
end
end.compact
end