From a4b764992f134a042606a63eecdd3c5be176311e Mon Sep 17 00:00:00 2001 From: freearhey <7253922+freearhey@users.noreply.github.com> Date: Wed, 19 Jul 2023 23:10:00 +0300 Subject: [PATCH] Update validate.js --- scripts/commands/channels/validate.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/commands/channels/validate.js b/scripts/commands/channels/validate.js index 431e976c..23ebed10 100644 --- a/scripts/commands/channels/validate.js +++ b/scripts/commands/channels/validate.js @@ -52,7 +52,7 @@ async function main() { } if (errors.length) { - logger.info(chalk.underline(filepath)) + console.log(chalk.underline(filepath)) console.table(errors, ['type', 'lang', 'xmltv_id', 'site_id', 'name']) console.log() stats.files++ @@ -60,7 +60,7 @@ async function main() { } if (stats.errors > 0) { - logger.error(chalk.red(`${stats.errors} error(s) in ${stats.files} file(s)`)) + console.log(chalk.red(`${stats.errors} error(s) in ${stats.files} file(s)`)) process.exit(1) } }