From 69efc210b2f71f5ec08811f254fe83cee04466e4 Mon Sep 17 00:00:00 2001 From: Etienne Laurin Date: Thu, 31 Jan 2013 12:43:31 -0800 Subject: node: fix test for external npm Closes #15315. Signed-off-by: Adam Vandenberg --- Library/Formula/node.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Library') 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 -- cgit v1.2.3