node: test npm local install, not global.

This commit is contained in:
Mike McQuaid 2014-08-31 18:46:07 +01:00
parent fadd2c87b6
commit 317376596b

View file

@ -85,6 +85,6 @@ class Node < Formula
assert_equal "hello", output
assert_equal 0, $?.exitstatus
system "#{HOMEBREW_PREFIX}/bin/npm", "install", "--global", "npm@latest" if build.with? "npm"
system "#{HOMEBREW_PREFIX}/bin/npm", "install", "npm@latest" if build.with? "npm"
end
end