aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/dev-cmd
diff options
context:
space:
mode:
authorMike McQuaid2017-08-01 11:36:18 +0100
committerGitHub2017-08-01 11:36:18 +0100
commit43d68b6dda55c89a2f8cced5f874e866df7981c3 (patch)
tree088574e790e8bb7cf11435bf820178ab8813f9d4 /Library/Homebrew/dev-cmd
parentc3c3575b7055e633d6f7930c2ab0e7e7d9b9b82f (diff)
parent5e8e705b5078ef477eee9e64db565ca7d883fcdb (diff)
downloadbrew-43d68b6dda55c89a2f8cced5f874e866df7981c3.tar.bz2
Merge pull request #2980 from GauthamGoli/audit_style_check_bug_fix
audit: fix bug where `brew audit foo` runs every style check.
Diffstat (limited to 'Library/Homebrew/dev-cmd')
-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 e0ffa6117..6d869a077 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