Permalink
Browse files

Call fail when CoffeeScript is missing rather than program.die as pro…

…gram is undefined.
  • Loading branch information...
Page
Page committed Sep 28, 2011
1 parent 0af46c1 commit bb8b9673e89abac2bc629a716c9297f5db41e818
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/loader.js
View
@@ -53,7 +53,7 @@ Loader = function () {
CoffeeScript = require('coffee-script');
}
catch (e) {
- program.die('CoffeeScript is missing! Try `npm install coffee-script`');
+ fail('CoffeeScript is missing! Try `npm install coffee-script`');
}
}
jakefile = path.join(process.cwd(), jakefile);

0 comments on commit bb8b967

Please sign in to comment.