From f0e3120b838cd420efd39a19fb94efb6523d0af1 Mon Sep 17 00:00:00 2001 From: tgpethan Date: Thu, 26 Mar 2020 16:25:25 +0000 Subject: [PATCH] Sort out consoleHelper's Config formatting The consoleHelper has some pretty ugly formatting on the config, this fixes that. --- modules/consoleHelper.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/consoleHelper.js b/modules/consoleHelper.js index 451f9ba..34c1f31 100644 --- a/modules/consoleHelper.js +++ b/modules/consoleHelper.js @@ -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`); }