From 797d7d816f84c960e1e299df8786ae47681f99c3 Mon Sep 17 00:00:00 2001 From: Aleksandr Statciuk Date: Sun, 30 Jan 2022 19:39:08 +0300 Subject: [PATCH] Update update-readme.js --- scripts/commands/update-readme.js | 5 ----- 1 file changed, 5 deletions(-) diff --git a/scripts/commands/update-readme.js b/scripts/commands/update-readme.js index f3e7fdbe..641dfc6e 100644 --- a/scripts/commands/update-readme.js +++ b/scripts/commands/update-readme.js @@ -105,11 +105,6 @@ async function getLogRecords() { const logPath = `${LOGS_DIR}/update-guides.log` const records = await parser.parseLogs(logPath) - if (!records.length) { - logger.error(`File "${logPath}" is empty`) - process.exit(1) - } - return records.map(item => { const code = item.group.split('/')[0] || '' item.code = code.toUpperCase()