Update parse-channels.js

This commit is contained in:
Aleksandr Statciuk 2022-01-30 04:57:14 +03:00
parent c50fab812c
commit 4d3c1b6023

View file

@ -1,5 +1,5 @@
const { Command } = require('commander') const { Command } = require('commander')
const { db } = require('../core') const { db, logger } = require('../core')
const path = require('path') const path = require('path')
const _ = require('lodash') const _ = require('lodash')
const fs = require('fs') const fs = require('fs')
@ -46,7 +46,7 @@ async function main() {
fs.writeFileSync(path.resolve(output), xml) fs.writeFileSync(path.resolve(output), xml)
console.log(`File '${output}' successfully saved`) logger.info(`File '${output}' successfully saved`)
} }
main() main()