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()