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
433de9f373
commit
22e9695448
1 changed files with 1 additions and 13 deletions
|
@ -54,7 +54,7 @@ async function generateCountriesTable(items = []) {
|
|||
rows = _.groupBy(rows, 'name')
|
||||
|
||||
const output = table.create(rows, [
|
||||
'Country',
|
||||
'Country ',
|
||||
'Channels',
|
||||
'EPG',
|
||||
'Status '
|
||||
|
@ -70,15 +70,3 @@ async function updateReadme() {
|
|||
await file.createDir(file.dirname(config.build))
|
||||
await markdown.compile(options.config)
|
||||
}
|
||||
|
||||
async function getLogRecords() {
|
||||
const logPath = `${LOGS_DIR}/guides.log`
|
||||
const records = await parser.parseLogs(logPath)
|
||||
|
||||
return records.map(item => {
|
||||
const code = item.group.split('/')[0] || ''
|
||||
item.code = code.toUpperCase()
|
||||
|
||||
return item
|
||||
})
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue