*Update dist
This commit is contained in:
parent
e49ce56cb8
commit
4dca570ba8
|
@ -107,10 +107,9 @@ class Config {
|
||||||
files.forEach(this.openJson);
|
files.forEach(this.openJson);
|
||||||
}
|
}
|
||||||
openJson(file) {
|
openJson(file) {
|
||||||
const path = this.getFile(file);
|
|
||||||
let json;
|
let json;
|
||||||
try {
|
try {
|
||||||
json = fs_1.default.readFileSync(path, "utf8");
|
json = fs_1.default.readFileSync(file, "utf8");
|
||||||
json = JSON.parse(json);
|
json = JSON.parse(json);
|
||||||
}
|
}
|
||||||
catch (e) {
|
catch (e) {
|
||||||
|
|
Loading…
Reference in New Issue