diff options
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/node.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Formula/node.rb b/Library/Formula/node.rb index 515d0566a..a64ded1d0 100644 --- a/Library/Formula/node.rb +++ b/Library/Formula/node.rb @@ -32,7 +32,7 @@ class NpmNotInstalled < Requirement satisfy :build_env => false do begin - path = Pathname.new("#{modules_folder}/npm") + path = Pathname.new("#{modules_folder}/npm/bin/npm") path.realpath.to_s.include?(HOMEBREW_CELLAR) rescue Errno::ENOENT true |
