diff options
| -rw-r--r-- | Library/Homebrew/cmd/style.rb | 2 |
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) |
