Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Program is not defined error when using CoffeeScript if the coffee-script module is not installed. #73

Merged
merged 1 commit into from

2 participants

@Page-

Changed program.die to fail so that the nice please install coffeescript is displayed.
This fixes #58.

@mde mde merged commit 0d37eff into jakejs:master
@mde
Owner
mde commented

Merged, thanks. :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Sep 28, 2011
  1. Call fail when CoffeeScript is missing rather than program.die as pro…

    Page authored
    …gram is undefined.
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/loader.js
View
2  lib/loader.js
@@ -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);
Something went wrong with that request. Please try again.