Skip to content

Commit

Permalink
audit: fix bug where brew audit foo runs every style check.
Browse files Browse the repository at this point in the history
  • Loading branch information
GauthamGoli committed Jul 30, 2017
1 parent 896f41f commit 5e8e705
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Library/Homebrew/dev-cmd/audit.rb
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ def audit
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
Expand Down

0 comments on commit 5e8e705

Please sign in to comment.