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

Commit

Permalink
feat(config): allow to use newer versions of CoffeeScript
Browse files Browse the repository at this point in the history
CoffeeScript lost the hyphen in the module name about 9 months ago, all the new 
versions are going to be released as coffeescript not the coffee-script
  • Loading branch information
NeverwinterMoon committed Nov 11, 2017
1 parent 95dd3ca commit b5107bb
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions lib/configParser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,13 @@ try {
// Intentionally blank - ignore if coffee-script is not available.
}

// CoffeeScript lost the hyphen in the module name a long time ago, all new version are named this:
try {
require('coffeescript').register();
} catch (e) {
// Intentionally blank - ignore if coffeescript is not available.
}

// LiveScript is required here to enable config files written in LiveScript.
try {
require('LiveScript');
Expand Down

0 comments on commit b5107bb

Please sign in to comment.