Update update-readme.js

This commit is contained in:
Aleksandr Statciuk 2022-02-03 06:50:13 +03:00
parent 433de9f373
commit 22e9695448
1 changed files with 1 additions and 13 deletions

View File

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