diff --git a/Library/Homebrew/formulary.rb b/Library/Homebrew/formulary.rb index 6ed5b91ba7147..90e0dc2d46650 100644 --- a/Library/Homebrew/formulary.rb +++ b/Library/Homebrew/formulary.rb @@ -211,7 +211,7 @@ def get_formula(spec, alias_path: nil) def load_file super rescue MethodDeprecatedError => e - e.issues_url = formula.tap.issues_url || formula.tap.to_s + e.issues_url = tap.issues_url || tap.to_s raise end end