diff options
| author | Gautham Goli | 2017-07-03 11:42:16 +0530 | 
|---|---|---|
| committer | Gautham Goli | 2017-07-03 12:54:04 +0530 | 
| commit | e9dfa736bf068975a196b4a077ad781a193b142e (patch) | |
| tree | 245ed69cb78b763372344e97b11f902e82a72178 /Library/Homebrew/cmd/style.rb | |
| parent | bfe4eed034487b2cc353e8f7b0107fbb00c974d7 (diff) | |
| download | brew-e9dfa736bf068975a196b4a077ad781a193b142e.tar.bz2 | |
style: Don't run FormulaAuditStrict cops when `brew style some_formula` cmd is executed
Diffstat (limited to 'Library/Homebrew/cmd/style.rb')
| -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) | 
