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

Commit 9d87982

Browse files
NeverwinterMoonqiyigg
authored andcommittedDec 15, 2017
feat(config): allow to use newer versions of CoffeeScript (#4567)
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
1 parent f9df456 commit 9d87982

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed
 

Diff for: ‎lib/configParser.ts

+7
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,13 @@ try {
1414
// Intentionally blank - ignore if coffee-script is not available.
1515
}
1616

17+
// CoffeeScript lost the hyphen in the module name a long time ago, all new version are named this:
18+
try {
19+
require('coffeescript').register();
20+
} catch (e) {
21+
// Intentionally blank - ignore if coffeescript is not available.
22+
}
23+
1724
// LiveScript is required here to enable config files written in LiveScript.
1825
try {
1926
require('LiveScript');

0 commit comments

Comments
 (0)