node: test npm local install, not global.
This commit is contained in:
parent
fadd2c87b6
commit
317376596b
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue