aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorMike McQuaid2014-08-31 18:46:07 +0100
committerMike McQuaid2014-08-31 18:46:07 +0100
commit51dbf0b1893383478fdd9b7146e627bad41af4f8 (patch)
tree5218cb3b362b5e3ffdadd503b6187517dcba2d17 /Library/Formula
parent6cd5fd460854f1f4d4bc7b58d2ad9115a226edc5 (diff)
downloadhomebrew-51dbf0b1893383478fdd9b7146e627bad41af4f8.tar.bz2
node: test npm local install, not global.
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/node.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Formula/node.rb b/Library/Formula/node.rb
index 2b362c3ac..b76f80d07 100644
--- a/Library/Formula/node.rb
+++ b/Library/Formula/node.rb
@@ -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