From 4d3c1b60236f77ab1b42f0d5ec61b29f88fabc54 Mon Sep 17 00:00:00 2001 From: Aleksandr Statciuk Date: Sun, 30 Jan 2022 04:57:14 +0300 Subject: [PATCH] Update parse-channels.js --- scripts/commands/parse-channels.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/commands/parse-channels.js b/scripts/commands/parse-channels.js index 5d5e8c15..7cb6ec93 100644 --- a/scripts/commands/parse-channels.js +++ b/scripts/commands/parse-channels.js @@ -1,5 +1,5 @@ const { Command } = require('commander') -const { db } = require('../core') +const { db, logger } = require('../core') const path = require('path') const _ = require('lodash') const fs = require('fs') @@ -46,7 +46,7 @@ async function main() { fs.writeFileSync(path.resolve(output), xml) - console.log(`File '${output}' successfully saved`) + logger.info(`File '${output}' successfully saved`) } main()