From ca37e9646946240826ecfbb7333582e96f964c57 Mon Sep 17 00:00:00 2001 From: Raza Hussain Date: Sat, 25 Mar 2017 16:20:51 -0400 Subject: [PATCH] updating the exception for "kibana" for the "@" naming scheme of its formula --- Library/Homebrew/dev-cmd/audit.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/Homebrew/dev-cmd/audit.rb b/Library/Homebrew/dev-cmd/audit.rb index 9f296ca665..292382234f 100644 --- a/Library/Homebrew/dev-cmd/audit.rb +++ b/Library/Homebrew/dev-cmd/audit.rb @@ -1176,7 +1176,7 @@ 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{1,2}(\.\d{1,2})?)?$/ problem "Use Language::Node for npm install args" end