diff --git a/scripts/commands/update-readme.js b/scripts/commands/update-readme.js index e942884e..2ba6edf7 100644 --- a/scripts/commands/update-readme.js +++ b/scripts/commands/update-readme.js @@ -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 - }) -}