audit: fix swapped audit messages

This commit is contained in:
Steven Peters 2017-04-19 10:59:11 -07:00
parent b6b98f486e
commit 3982d24d8b

View File

@ -1100,11 +1100,11 @@ class FormulaAuditor
end
if line =~ /(not\s|!)\s*build\.with?\?/
problem "Don't negate 'build.without?': use 'build.with?'"
problem "Don't negate 'build.with?': use 'build.without?'"
end
if line =~ /(not\s|!)\s*build\.without?\?/
problem "Don't negate 'build.with?': use 'build.without?'"
problem "Don't negate 'build.without?': use 'build.with?'"
end
if line =~ /ARGV\.(?!(debug\?|verbose\?|value[\(\s]))/