aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/coffee-script.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Formula/coffee-script.rb b/Library/Formula/coffee-script.rb
index 2c13be973..42cde749c 100644
--- a/Library/Formula/coffee-script.rb
+++ b/Library/Formula/coffee-script.rb
@@ -12,7 +12,7 @@ class NodeRequired < Requirement
EOS
end
def satisified?
- which 'node'
+ Formula.factory("node").installed? or which('node')
end
def fatal?
true