aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd/style.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Homebrew/cmd/style.rb')
-rw-r--r--Library/Homebrew/cmd/style.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/Library/Homebrew/cmd/style.rb b/Library/Homebrew/cmd/style.rb
index c6201e371..5cee295b6 100644
--- a/Library/Homebrew/cmd/style.rb
+++ b/Library/Homebrew/cmd/style.rb
@@ -46,6 +46,8 @@ module Homebrew
options[:only_cops] = only_cops
elsif !except_cops.empty?
options[:except_cops] = except_cops
+ elsif only_cops.empty? && except_cops.empty?
+ options[:except_cops] = %w[FormulaAuditStrict FormulaAudit]
end
Homebrew.failed = check_style_and_print(target, options)