Update update-readme.js

This commit is contained in:
Aleksandr Statciuk 2021-10-12 23:45:24 +03:00
parent e0860f67d3
commit 0ed219a73d

View file

@ -30,8 +30,12 @@ async function main() {
return b.channelCount - a.channelCount return b.channelCount - a.channelCount
}) })
console.log(data)
console.log('Generating table...')
const table = generateTable(data, ['Country', 'Channels', 'EPG']) const table = generateTable(data, ['Country', 'Channels', 'EPG'])
file.write('./.readme/_table.md', table) file.write('.readme/_table.md', table)
console.log('Updating README.md...')
markdownInclude.compileFiles('.readme/config.json') markdownInclude.compileFiles('.readme/config.json')
}) })
.finally(() => { .finally(() => {