diff options
| author | Gautham Goli | 2017-07-28 05:01:01 +0530 | 
|---|---|---|
| committer | Gautham Goli | 2017-07-28 05:05:34 +0530 | 
| commit | 0c04b9041a67e54ed45d7e2e37e7e7e6aec03bc9 (patch) | |
| tree | 04225e20d9f00a163da1cc8b7297bc1ad464fa2d /Library/Homebrew | |
| parent | a49d99a2d6a22f9db1540cb546ac2d7be2fb5703 (diff) | |
| download | brew-0c04b9041a67e54ed45d7e2e37e7e7e6aec03bc9.tar.bz2 | |
audit: Check for style violations when `--new-formula` is passed
Diffstat (limited to 'Library/Homebrew')
| -rw-r--r-- | Library/Homebrew/dev-cmd/audit.rb | 4 | 
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Homebrew/dev-cmd/audit.rb b/Library/Homebrew/dev-cmd/audit.rb index b15d719d2..b6f9e5106 100644 --- a/Library/Homebrew/dev-cmd/audit.rb +++ b/Library/Homebrew/dev-cmd/audit.rb @@ -88,9 +88,9 @@ module Homebrew        options[:only_cops] = only_cops        ARGV.push("--only=style")      elsif new_formula -      options[:only_cops] = [:FormulaAudit, :FormulaAuditStrict, :NewFormulaAudit] +      nil      elsif strict -      options[:only_cops] = [:FormulaAudit, :FormulaAuditStrict] +      options[:except_cops] = [:NewFormulaAudit]      elsif !except_cops.empty?        options[:except_cops] = except_cops      elsif !strict  | 
