Merge pull request #10463 from dtrodrigues/bump-formula-audit

bump-formula-pr: pass --formula flag when auditing a bumped formula
This commit is contained in:
Dustin Rodrigues 2021-02-01 20:11:31 -05:00 committed by GitHub
commit 29f39d26f6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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