aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGautham Goli2017-07-30 22:01:07 +0530
committerGautham Goli2017-07-30 22:03:43 +0530
commit5e8e705b5078ef477eee9e64db565ca7d883fcdb (patch)
tree010d4c280752a3a9639a0e4c3d1cb8ce0d15637d
parent896f41f7edb2f55f79fd3b8e6ffc8f3f1497727b (diff)
downloadbrew-5e8e705b5078ef477eee9e64db565ca7d883fcdb.tar.bz2
audit: fix bug where `brew audit foo` runs every style check.
-rw-r--r--Library/Homebrew/dev-cmd/audit.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/dev-cmd/audit.rb b/Library/Homebrew/dev-cmd/audit.rb
index b6f9e5106..34305f93e 100644
--- a/Library/Homebrew/dev-cmd/audit.rb
+++ b/Library/Homebrew/dev-cmd/audit.rb
@@ -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