From 317376596b8e28e58ed1a8304e6ed75d27220ca7 Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Sun, 31 Aug 2014 18:46:07 +0100 Subject: [PATCH] node: test npm local install, not global. --- Formula/node.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Formula/node.rb b/Formula/node.rb index 2b362c3ace..b76f80d07f 100644 --- a/Formula/node.rb +++ b/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