diff --git a/Library/Homebrew/formulary.rb b/Library/Homebrew/formulary.rb index 259e86dfff..74f6694135 100644 --- a/Library/Homebrew/formulary.rb +++ b/Library/Homebrew/formulary.rb @@ -190,7 +190,7 @@ class Formulary super name, Formulary.core_path(name) end - def get_formula(_spec, alias_path: nil) + def get_formula(*) raise FormulaUnavailableError, name end end