Update validate.js

This commit is contained in:
Aleksandr Statciuk 2022-03-11 17:36:58 +03:00
parent eeb2c1ff52
commit 3e369566f0

View File

@ -6,7 +6,7 @@ const _ = require('lodash')
program.argument('[filepath]', 'Path to file to validate').parse(process.argv) program.argument('[filepath]', 'Path to file to validate').parse(process.argv)
async function main() { async function main() {
const files = program.args.length ? program.args : await file.list('channels/*.m3u') const files = program.args.length ? program.args : await file.list('streams/*.m3u')
logger.info(`loading blocklist...`) logger.info(`loading blocklist...`)
await api.channels.load() await api.channels.load()