aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew
diff options
context:
space:
mode:
authorDominyk Tiller2015-08-10 02:39:38 +0100
committerDominyk Tiller2015-08-10 02:39:38 +0100
commit970992d5bf206b3e77beee1cc030c64be4f45f60 (patch)
tree0637ab93d98beba8f3a746f95ba9194c4aae8d83 /Library/Homebrew
parentd25d3b07da8fed60e2f74dd370747e8cacf2e577 (diff)
downloadbrew-970992d5bf206b3e77beee1cc030c64be4f45f60.tar.bz2
audit: prune redundant code
Diffstat (limited to 'Library/Homebrew')
-rw-r--r--Library/Homebrew/cmd/audit.rb4
1 files changed, 0 insertions, 4 deletions
diff --git a/Library/Homebrew/cmd/audit.rb b/Library/Homebrew/cmd/audit.rb
index e831d3112..5af7792b2 100644
--- a/Library/Homebrew/cmd/audit.rb
+++ b/Library/Homebrew/cmd/audit.rb
@@ -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)