diff options
Diffstat (limited to 'Library/Formula/node.rb')
| -rw-r--r-- | Library/Formula/node.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Formula/node.rb b/Library/Formula/node.rb index 428cc9f52..ffec4a4d5 100644 --- a/Library/Formula/node.rb +++ b/Library/Formula/node.rb @@ -61,7 +61,7 @@ class Node < Formula system "./configure", *args system "make install" - unless build.include? '--without-npm' + unless build.include? 'without-npm' (lib/"node_modules/npm/npmrc").write(npmrc) end end @@ -85,7 +85,7 @@ class Node < Formula end def caveats - if ARGV.include? '--without-npm' + if build.include? 'without-npm' <<-EOS.undent Homebrew has NOT installed npm. We recommend the following method of installation: |
