diff options
| author | Mike McQuaid | 2017-07-07 15:43:55 +0100 | 
|---|---|---|
| committer | GitHub | 2017-07-07 15:43:55 +0100 | 
| commit | 81dbc29566a85f817b5a33c98fc5868d250784cf (patch) | |
| tree | ffdd89190ee0000429b9248b4e6afbe0a5ba3d18 /Library/Homebrew/cmd/style.rb | |
| parent | 1406f89ac5ded71eac9f4493ad3f9758287aaded (diff) | |
| parent | e9dfa736bf068975a196b4a077ad781a193b142e (diff) | |
| download | brew-81dbc29566a85f817b5a33c98fc5868d250784cf.tar.bz2 | |
Merge pull request #2853 from GauthamGoli/disable-strict-cops-brew-style
style: Don't run FormulaAuditStrict cops when `brew style foo` 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 51937c3e5..7158fe5b9 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) | 
