aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/language/node.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Homebrew/language/node.rb')
-rw-r--r--Library/Homebrew/language/node.rb5
1 files changed, 2 insertions, 3 deletions
diff --git a/Library/Homebrew/language/node.rb b/Library/Homebrew/language/node.rb
index 0d02a2ad0..eaadc54fc 100644
--- a/Library/Homebrew/language/node.rb
+++ b/Library/Homebrew/language/node.rb
@@ -10,9 +10,8 @@ module Language
# fed to `npm install` only symlinks are created linking back to that
# directory, consequently breaking that assumption. We require a tarball
# because npm install creates a "real" installation when fed a tarball.
- pack_cmd = "npm pack -ddd --ignore-scripts"
- ohai pack_cmd
- output = `#{pack_cmd}`
+ pack_cmd = "npm pack --ignore-scripts"
+ output = Utils.popen_read(pack_cmd)
if !$CHILD_STATUS.exitstatus.zero? || output.lines.empty?
raise "npm failed to pack #{Dir.pwd}"
end