Sort out consoleHelper's Config formatting
The consoleHelper has some pretty ugly formatting on the config, this fixes that.
This commit is contained in:
parent
6042c87d14
commit
f0e3120b83
1 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,7 @@ if (!fs.existsSync(__dirname + BASE_PATH)) {
|
||||||
}
|
}
|
||||||
// Creates the consoleHelper config file
|
// Creates the consoleHelper config file
|
||||||
if (!fs.existsSync(__dirname + BASE_PATH + "/config.json")) {
|
if (!fs.existsSync(__dirname + BASE_PATH + "/config.json")) {
|
||||||
fs.writeFileSync(__dirname + BASE_PATH + "/config.json", JSON.stringify({"24hour":true}));
|
fs.writeFileSync(__dirname + BASE_PATH + "/config.json", `{\n\t"24hour":true\n}`);
|
||||||
console.log(`[consoleHelper] Made consoleHelper config file`);
|
console.log(`[consoleHelper] Made consoleHelper config file`);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue