audit: allow certain ARGV usages
This commit is contained in:
parent
2566ec85cb
commit
0654753695
@ -368,7 +368,7 @@ class FormulaAuditor
|
|||||||
problem "Use 'build.head?' instead of inspecting 'version'"
|
problem "Use 'build.head?' instead of inspecting 'version'"
|
||||||
end
|
end
|
||||||
|
|
||||||
if text =~ /ARGV/
|
if text =~ /ARGV(?!\.(debug|verbose)\?)/
|
||||||
problem "Use build instead of ARGV to check options."
|
problem "Use build instead of ARGV to check options."
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user