diff options
| author | Dominyk Tiller | 2015-08-10 02:39:38 +0100 | 
|---|---|---|
| committer | Dominyk Tiller | 2015-08-10 02:39:38 +0100 | 
| commit | 970992d5bf206b3e77beee1cc030c64be4f45f60 (patch) | |
| tree | 0637ab93d98beba8f3a746f95ba9194c4aae8d83 /Library/Homebrew/cmd/audit.rb | |
| parent | d25d3b07da8fed60e2f74dd370747e8cacf2e577 (diff) | |
| download | brew-970992d5bf206b3e77beee1cc030c64be4f45f60.tar.bz2 | |
audit: prune redundant code
Diffstat (limited to 'Library/Homebrew/cmd/audit.rb')
| -rw-r--r-- | Library/Homebrew/cmd/audit.rb | 4 | 
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)  | 
