Merge pull request #2393 from raza15/raza2

updating the exception for "kibana" for the "@" naming scheme. File changed: audit.rb
This commit is contained in:
Mike McQuaid 2017-03-26 19:51:25 +01:00 committed by GitHub
commit 09231dd52b

View File

@ -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