aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorAdam Vandenberg2012-03-16 07:12:19 -0700
committerAdam Vandenberg2012-03-16 07:12:19 -0700
commita112e4bd97a66b305455e670c8f1177623878187 (patch)
tree1580eb09d6eb1f40d4bc4501041ad47a8e97ebf3 /Library
parent2f5248f36f6ff292e3e68c09c96693b226ac3ccd (diff)
downloadhomebrew-a112e4bd97a66b305455e670c8f1177623878187.tar.bz2
coffee-script: also check if node is installed w/ brew
Diffstat (limited to 'Library')
-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