audit: prune redundant code

This commit is contained in:
Dominyk Tiller 2015-08-10 02:39:38 +01:00
parent d25d3b07da
commit 970992d5bf

View File

@ -567,10 +567,6 @@ class FormulaAuditor
Please add ENV.prepend_path \"PATH\", \"#{need_npm}"\ to def install
EOS
end
if text =~ /system "npm", "install"/ && text !~ /"HOME"/
problem "Please add ENV[\"HOME\"] = buildpath/\".brew_home\" to def install"
end
end
def audit_line(line, lineno)