From 0ed219a73d2d1f52bfcc42f3655e3a41932855dc Mon Sep 17 00:00:00 2001 From: Aleksandr Statciuk Date: Tue, 12 Oct 2021 23:45:24 +0300 Subject: [PATCH] Update update-readme.js --- scripts/update-readme.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/scripts/update-readme.js b/scripts/update-readme.js index ecfb2b01..b6223a3b 100644 --- a/scripts/update-readme.js +++ b/scripts/update-readme.js @@ -30,8 +30,12 @@ async function main() { return b.channelCount - a.channelCount }) + console.log(data) + + console.log('Generating table...') 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') }) .finally(() => {