From b7245b18f3d28f2afe85e198183db3d86b7de751 Mon Sep 17 00:00:00 2001 From: Aleksandr Statciuk Date: Wed, 8 Feb 2023 03:55:01 +0300 Subject: [PATCH] Update update.js --- scripts/commands/guides/update.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/scripts/commands/guides/update.js b/scripts/commands/guides/update.js index 79508fd6..0ed5f146 100644 --- a/scripts/commands/guides/update.js +++ b/scripts/commands/guides/update.js @@ -91,15 +91,12 @@ async function save(filepath, programs) { const xmlFilepath = `${PUBLIC_DIR}/guides/${filepath}.xml` const gzFilepath = `${PUBLIC_DIR}/guides/${filepath}.xml.gz` - const jsonFilepath = `${PUBLIC_DIR}/guides/${filepath}.json` logger.info(`creating ${xmlFilepath}...`) const xmltv = generateXMLTV(output) await file.create(xmlFilepath, xmltv) logger.info(`creating ${gzFilepath}...`) const compressed = await zip.compress(xmltv) await file.create(gzFilepath, compressed) - logger.info(`creating ${jsonFilepath}...`) - await file.create(jsonFilepath, JSON.stringify(output)) return output }