Update update-readme.js

This commit is contained in:
Aleksandr Statciuk 2022-01-30 19:39:08 +03:00
parent 146079dc90
commit 797d7d816f

View file

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