aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/node.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula/node.rb')
-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