diff --git a/Library/Homebrew/formulary.rb b/Library/Homebrew/formulary.rb index 2a0d43f92b..b8413f7a01 100644 --- a/Library/Homebrew/formulary.rb +++ b/Library/Homebrew/formulary.rb @@ -202,6 +202,10 @@ class Formulary def self.canonical_name(ref) loader_for(ref).name + rescue TapFormulaAmbiguityError + # If there are multiple tap formulae with the name of ref, + # then ref is the canonical name + ref.downcase end def self.path(ref)