audit: loosen ARGV check
This commit is contained in:
parent
447f78c0d2
commit
b25740d61c
@ -381,7 +381,7 @@ class FormulaAuditor
|
|||||||
problem "Reference '#{$1}' without dashes"
|
problem "Reference '#{$1}' without dashes"
|
||||||
end
|
end
|
||||||
|
|
||||||
if text =~ /ARGV\.(?!(debug|verbose)\?)/
|
if text =~ /ARGV\.(?!(debug|verbose|find)\?)/
|
||||||
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