diff --git a/Library/Homebrew/dev-cmd/style.rb b/Library/Homebrew/dev-cmd/style.rb index c0112ef519..efa36925a4 100644 --- a/Library/Homebrew/dev-cmd/style.rb +++ b/Library/Homebrew/dev-cmd/style.rb @@ -57,7 +57,7 @@ module Homebrew options[:only_cops] = only_cops elsif except_cops options[:except_cops] = except_cops - elsif only_cops.nil? && except_cops.nil? + else options[:except_cops] = %w[FormulaAuditStrict] end