Skip to content

Commit

Permalink
Merge pull request #2866 from NeverwinterMoon/master
Browse files Browse the repository at this point in the history
Support the new CoffeeScript module name
  • Loading branch information
johnjbarton authored Nov 13, 2017
2 parents e62ed41 + c1fcf42 commit 5a6725a
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions lib/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,12 @@ try {
COFFEE_SCRIPT_AVAILABLE = true
} catch (e) {}

// CoffeeScript lost the hyphen in the module name a long time ago, all new version are named this:
try {
require('coffeescript').register()
COFFEE_SCRIPT_AVAILABLE = true
} catch (e) {}

// LiveScript is required here to enable config files written in LiveScript.
// It's not directly used in this file.
try {
Expand Down

0 comments on commit 5a6725a

Please sign in to comment.