From a34b2623c8987d2a7fc7d686867c3b8b3d22cc22 Mon Sep 17 00:00:00 2001 From: Adam Stachowicz Date: Wed, 15 Sep 2021 20:57:36 +0200 Subject: [PATCH] Remove double spaces in `console.log` output with multiple parameters --- extra/update-language-files/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/extra/update-language-files/index.js b/extra/update-language-files/index.js index 519d82e1..a90f9f36 100644 --- a/extra/update-language-files/index.js +++ b/extra/update-language-files/index.js @@ -26,7 +26,7 @@ const copyRecursiveSync = function (src, dest) { } }; -console.log("Arguments: ", process.argv) +console.log("Arguments:", process.argv) const baseLangCode = process.argv[2] || "en"; console.log("Base Lang: " + baseLangCode); fs.rmdirSync("./languages", { recursive: true }); @@ -35,7 +35,7 @@ copyRecursiveSync("../../src/languages", "./languages"); const en = (await import("./languages/en.js")).default; const baseLang = (await import(`./languages/${baseLangCode}.js`)).default; const files = fs.readdirSync("./languages"); -console.log("Files: ", files); +console.log("Files:", files); for (const file of files) { if (!file.endsWith(".js")) {