From 970992d5bf206b3e77beee1cc030c64be4f45f60 Mon Sep 17 00:00:00 2001 From: Dominyk Tiller Date: Mon, 10 Aug 2015 02:39:38 +0100 Subject: audit: prune redundant code --- Library/Homebrew/cmd/audit.rb | 4 ---- 1 file changed, 4 deletions(-) (limited to 'Library') 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) -- cgit v1.2.3