Skip to content
This repository has been archived by the owner on Jul 29, 2024. It is now read-only.

Commit

Permalink
fix(config): allow CoffeeScript 1.7 to be used
Browse files Browse the repository at this point in the history
CoffeeScript now requires a register call to be made.

Ref #38
  • Loading branch information
eddiemonge authored and juliemr committed Jan 31, 2014
1 parent 10aec0f commit 5dd93c2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@
// Coffee is required here to enable config files written in coffee-script.
// It's not directly used in this file, and not required.
try {
require('coffee-script');
require('coffee-script').register();
} catch (e) {
// Intentinally blank - ignore if coffee-script is not available.
// Intentionally blank - ignore if coffee-script is not available.
}

// LiveScript is required here to enable config files written in LiveScript.
Expand Down

0 comments on commit 5dd93c2

Please sign in to comment.