cmd/style: do FormulaAudit by default.

Otherwise this is just doing `rubocop` checks.
This commit is contained in:
Mike McQuaid 2020-04-13 14:33:21 +01:00
parent d52e870b07
commit 20795b5cc7
No known key found for this signature in database
GPG Key ID: 48A898132FD8EE70

View File

@ -57,8 +57,7 @@ module Homebrew
elsif except_cops elsif except_cops
options[:except_cops] = except_cops options[:except_cops] = except_cops
elsif only_cops.nil? && except_cops.nil? elsif only_cops.nil? && except_cops.nil?
options[:except_cops] = %w[FormulaAudit options[:except_cops] = %w[FormulaAuditStrict]
FormulaAuditStrict]
end end
Homebrew.failed = !Style.check_style_and_print(target, options) Homebrew.failed = !Style.check_style_and_print(target, options)