Skip to content

Commit 9cd5a21

Browse files
authored
Merge pull request #1669 from vladshablinsky/fix_method_deprecated
formulary: call tap not formula
2 parents 99f4214 + 478e4f1 commit 9cd5a21

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Library/Homebrew/formulary.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ def get_formula(spec, alias_path: nil)
211211
def load_file
212212
super
213213
rescue MethodDeprecatedError => e
214-
e.issues_url = formula.tap.issues_url || formula.tap.to_s
214+
e.issues_url = tap.issues_url || tap.to_s
215215
raise
216216
end
217217
end

0 commit comments

Comments
 (0)