Update validate.js

This commit is contained in:
Aleksandr Statciuk 2022-03-11 17:36:58 +03:00
parent eeb2c1ff52
commit 3e369566f0
1 changed files with 1 additions and 1 deletions

View File

@ -6,7 +6,7 @@ const _ = require('lodash')
program.argument('[filepath]', 'Path to file to validate').parse(process.argv)
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...`)
await api.channels.load()