Sort out consoleHelper's Config formatting #20

Merged
tgpholly merged 1 commit from consoleHelper-formatting into master 2020-03-26 16:30:06 +00:00
Showing only changes of commit f0e3120b83 - Show all commits

View file

@ -15,7 +15,7 @@ if (!fs.existsSync(__dirname + BASE_PATH)) {
}
// Creates the consoleHelper config file
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`);
}