audit: whitelist kibana from Language::Node check (#161)
This commit is contained in:
parent
4333bce850
commit
9378e46ffc
@ -878,7 +878,7 @@ class FormulaAuditor
|
||||
problem "Use `assert_match` instead of `assert ...include?`"
|
||||
end
|
||||
|
||||
if line =~ /system "npm", "install"/ && line !~ /Language::Node/
|
||||
if line =~ /system "npm", "install"/ && line !~ /Language::Node/ && formula.name !~ /^kibana(\d{2})?$/
|
||||
problem "Use Language::Node for npm install args"
|
||||
end
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user