Update validate.js

pull/6679/head
Aleksandr Statciuk 3 years ago
parent eeb2c1ff52
commit 3e369566f0

@ -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()

Loading…
Cancel
Save