diff options
| author | Mike McQuaid | 2017-03-26 19:51:25 +0100 |
|---|---|---|
| committer | GitHub | 2017-03-26 19:51:25 +0100 |
| commit | 09231dd52be5858f707fa30728d9cd47027f6976 (patch) | |
| tree | 0cd403d2e0ebb2c76aec1145029b0635bbddb97e /Library | |
| parent | 8af478bda4b545d4907d92c8ec826f49375ea7fd (diff) | |
| parent | 543529c054ffcae090b491dd0f64306177d3224b (diff) | |
| download | brew-09231dd52be5858f707fa30728d9cd47027f6976.tar.bz2 | |
Merge pull request #2393 from raza15/raza2
updating the exception for "kibana" for the "@" naming scheme. File changed: audit.rb
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/dev-cmd/audit.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Library/Homebrew/dev-cmd/audit.rb b/Library/Homebrew/dev-cmd/audit.rb index 9f296ca66..442c83f59 100644 --- a/Library/Homebrew/dev-cmd/audit.rb +++ b/Library/Homebrew/dev-cmd/audit.rb @@ -1176,7 +1176,8 @@ class FormulaAuditor problem "Use `assert_match` instead of `assert ...include?`" end - if line.include?('system "npm", "install"') && !line.include?("Language::Node") && formula.name !~ /^kibana(\d{2})?$/ + if line.include?('system "npm", "install"') && !line.include?("Language::Node") && + formula.name !~ /^kibana(\@\d+(\.\d+)?)?$/ problem "Use Language::Node for npm install args" end |
