From 619db0909b4cca65269bb4d8c5c7385c33558f2f Mon Sep 17 00:00:00 2001 From: Aleksandr Statciuk Date: Sat, 22 Jan 2022 16:12:40 +0300 Subject: [PATCH] Corrects the number of channels in the readme.md --- scripts/commands/update-guides.js | 2 +- tests/__data__/expected/logs/update-guides.log | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/commands/update-guides.js b/scripts/commands/update-guides.js index b2470d7c..b9211cfe 100644 --- a/scripts/commands/update-guides.js +++ b/scripts/commands/update-guides.js @@ -33,7 +33,7 @@ async function generateGuides() { await log({ group: key, - count: programs.length + count: channels.length }) } diff --git a/tests/__data__/expected/logs/update-guides.log b/tests/__data__/expected/logs/update-guides.log index 1cb2c8ad..00aab1ff 100644 --- a/tests/__data__/expected/logs/update-guides.log +++ b/tests/__data__/expected/logs/update-guides.log @@ -1,2 +1,2 @@ -{"group":"fr/chaines-tv.orange.fr","count":32} -{"group":"zw/dstv.com","count":14} +{"group":"fr/chaines-tv.orange.fr","count":1} +{"group":"zw/dstv.com","count":1}