updating the exception for "kibana" for the "@" naming scheme of its formula
This commit is contained in:
parent
17acb3a91c
commit
ca37e96469
@ -1176,7 +1176,7 @@ class FormulaAuditor
|
|||||||
problem "Use `assert_match` instead of `assert ...include?`"
|
problem "Use `assert_match` instead of `assert ...include?`"
|
||||||
end
|
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"
|
problem "Use Language::Node for npm install args"
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user