mirror of
https://github.com/iptv-org/iptv
synced 2026-11-02 07:14:27 -05:00
Update validate.js
This commit is contained in:
1 parent
dffef8ea29
commit
bff3a12241
1 file changed
+1
-1
@@ -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()
|
||||||
|
|||||||
Reference in new issue
Block a user