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

Commit 8d29c93

Browse files
czchenjuliemr
authored andcommitted
feat(config): allow LiveScript configuration files
1 parent 2601508 commit 8d29c93

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

lib/cli.js

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

17+
// LiveScript is required here to enable config files written in LiveScript.
18+
// It's not directly used in this file, and not required.
19+
try {
20+
require('LiveScript');
21+
} catch (e) {
22+
// Intentionally blank - ignore if LiveScript is not available.
23+
}
24+
1725
var util = require('util');
1826
var path = require('path');
1927
var fs = require('fs');

0 commit comments

Comments
 (0)