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 cccc43cd3..e78e337fa 100644
--- a/Library/Formula/node.rb
+++ b/Library/Formula/node.rb
@@ -34,7 +34,7 @@ class NpmNotInstalled < Requirement
satisfy :build_env => false do
begin
path = Pathname.new("#{modules_folder}/npm")
- not path.realpath.to_s.include?(HOMEBREW_CELLAR)
+ path.realpath.to_s.include?(HOMEBREW_CELLAR)
rescue Exception => e
true
end