From 01ea93c4237aca0214db1dd0d27a22936ebf5f30 Mon Sep 17 00:00:00 2001 From: Aleksandr Statciuk Date: Mon, 24 Jan 2022 21:32:34 +0300 Subject: [PATCH] Update update.js --- scripts/update.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/update.js b/scripts/update.js index 8f089a3..3839bb2 100644 --- a/scripts/update.js +++ b/scripts/update.js @@ -18,6 +18,6 @@ glob(`${DATABASE_DIR}/*.csv`, async function (err, files) { const outputFile = `${OUTPUT_DIR}/${inputFilename}.json` const json = await csv.load(inputFile) - fs.writeFileSync(path.resolve(outputFile), JSON.stringify(json, null, 2)) + fs.writeFileSync(path.resolve(outputFile), JSON.stringify(json)) } })