audit: be a bit more lenient

This commit is contained in:
Adam Vandenberg 2012-08-22 21:31:38 -07:00
parent 0654753695
commit 7b66291cc6

View File

@ -368,7 +368,7 @@ class FormulaAuditor
problem "Use 'build.head?' instead of inspecting 'version'"
end
if text =~ /ARGV(?!\.(debug|verbose)\?)/
if text =~ /ARGV\.(?!(debug|verbose)\?)/
problem "Use build instead of ARGV to check options."
end