diff --git a/Library/Homebrew/dev-cmd/bump-formula-pr.rb b/Library/Homebrew/dev-cmd/bump-formula-pr.rb index 167ea9134ae1b..a924c07d01a2a 100644 --- a/Library/Homebrew/dev-cmd/bump-formula-pr.rb +++ b/Library/Homebrew/dev-cmd/bump-formula-pr.rb @@ -148,7 +148,7 @@ def run 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