From a112e4bd97a66b305455e670c8f1177623878187 Mon Sep 17 00:00:00 2001 From: Adam Vandenberg Date: Fri, 16 Mar 2012 07:12:19 -0700 Subject: coffee-script: also check if node is installed w/ brew --- Library/Formula/coffee-script.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Library/Formula') 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 -- cgit v1.2.3