cmd/style: do FormulaAudit by default.
Otherwise this is just doing `rubocop` checks.
This commit is contained in:
parent
d52e870b07
commit
20795b5cc7
@ -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)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user