mirror of
https://github.com/iptv-org/epg
synced 2025-12-17 10:56:57 -05:00
Update update-readme.js
This commit is contained in:
@@ -105,11 +105,6 @@ async function getLogRecords() {
|
|||||||
const logPath = `${LOGS_DIR}/update-guides.log`
|
const logPath = `${LOGS_DIR}/update-guides.log`
|
||||||
const records = await parser.parseLogs(logPath)
|
const records = await parser.parseLogs(logPath)
|
||||||
|
|
||||||
if (!records.length) {
|
|
||||||
logger.error(`File "${logPath}" is empty`)
|
|
||||||
process.exit(1)
|
|
||||||
}
|
|
||||||
|
|
||||||
return records.map(item => {
|
return records.map(item => {
|
||||||
const code = item.group.split('/')[0] || ''
|
const code = item.group.split('/')[0] || ''
|
||||||
item.code = code.toUpperCase()
|
item.code = code.toUpperCase()
|
||||||
|
|||||||
Reference in New Issue
Block a user