diff options
| author | Gautham Goli | 2017-07-15 22:40:26 +0530 |
|---|---|---|
| committer | Gautham Goli | 2017-07-15 22:40:26 +0530 |
| commit | 5b3231ea0ab23aae7c552142049e99afe0d72b4b (patch) | |
| tree | 7d37da5438f4c0104909bbeef50b75eaaebdb2a3 /Library/Homebrew/cmd | |
| parent | fb9015458993740efcca4ada0f1909519442bee5 (diff) | |
| download | brew-5b3231ea0ab23aae7c552142049e99afe0d72b4b.tar.bz2 | |
style: disable NewFormulaAudit cops' execution by default unless specified
Diffstat (limited to 'Library/Homebrew/cmd')
| -rw-r--r-- | Library/Homebrew/cmd/style.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Library/Homebrew/cmd/style.rb b/Library/Homebrew/cmd/style.rb index 7158fe5b9..14499f24b 100644 --- a/Library/Homebrew/cmd/style.rb +++ b/Library/Homebrew/cmd/style.rb @@ -47,7 +47,9 @@ module Homebrew elsif !except_cops.empty? options[:except_cops] = except_cops elsif only_cops.empty? && except_cops.empty? - options[:except_cops] = %w[FormulaAuditStrict FormulaAudit] + options[:except_cops] = %w[FormulaAudit + FormulaAuditStrict + NewFormulaAudit] end Homebrew.failed = check_style_and_print(target, options) |
