loosen FileUtils audit

This commit is contained in:
Adam Vandenberg 2013-12-04 20:07:27 -08:00
parent 36d3a2dfa8
commit 1d31200ad2

View File

@ -323,7 +323,8 @@ class FormulaAuditor
end
# FileUtils is included in Formula
if line =~ /FileUtils\.(\w+)/
# encfs modifies a file with this name, so check for some leading characters
if line =~ /[^'"\/]FileUtils\.(\w+)/
problem "Don't need 'FileUtils.' before #{$1}."
end