Merge pull request #18655 from kou/brew-bump-formula-pr-type-error

This commit is contained in:
Carlo Cabrera 2024-10-29 05:54:52 +08:00 committed by GitHub
commit c81b2e4385
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -148,7 +148,7 @@ module Homebrew
new_mirrors ||= args.mirror
if new_url.present? && (new_mirror = determine_mirror(new_url))
new_mirrors ||= [new_mirror]
check_for_mirrors(formula, old_mirrors, new_mirrors)
check_for_mirrors(formula.name, old_mirrors, new_mirrors)
end
old_hash = formula_spec.checksum&.hexdigest