bump-formula-pr: pass --formula flag when auditing a bumped formula

This commit is contained in:
Dustin Rodrigues 2021-01-30 19:12:40 -05:00
parent 24bbfffc61
commit 48bfdee708

View File

@ -503,7 +503,7 @@ module Homebrew
end end
def run_audit(formula, alias_rename, old_contents, args:) def run_audit(formula, alias_rename, old_contents, args:)
audit_args = [] audit_args = ["--formula"]
audit_args << "--strict" if args.strict? audit_args << "--strict" if args.strict?
audit_args << "--online" if args.online? audit_args << "--online" if args.online?
if args.dry_run? if args.dry_run?