Merge pull request #2980 from GauthamGoli/audit_style_check_bug_fix
audit: fix bug where `brew audit foo` runs every style check.
This commit is contained in:
commit
43d68b6dda
@ -94,7 +94,7 @@ module Homebrew
|
||||
elsif !except_cops.empty?
|
||||
options[:except_cops] = except_cops
|
||||
elsif !strict
|
||||
options[:except_cops] = [:FormulaAuditStrict, :NewFormulaAudit]
|
||||
options[:only_cops] = [:FormulaAudit]
|
||||
end
|
||||
|
||||
# Check style in a single batch run up front for performance
|
||||
|
Loading…
x
Reference in New Issue
Block a user