mirror of
https://github.com/iptv-org/epg.git
synced 2025-05-09 16:40:07 -04:00
Update update-readme.js
This commit is contained in:
parent
146079dc90
commit
797d7d816f
1 changed files with 0 additions and 5 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue