mirror of
https://github.com/iptv-org/epg.git
synced 2025-05-10 00:50:09 -04:00
Update validate.js
This commit is contained in:
parent
9b39e9de56
commit
eb01ddc327
1 changed files with 2 additions and 0 deletions
|
@ -19,6 +19,8 @@ async function main() {
|
||||||
}
|
}
|
||||||
|
|
||||||
for (const filepath of program.args) {
|
for (const filepath of program.args) {
|
||||||
|
if (!filepath.endsWith('.xml')) continue
|
||||||
|
|
||||||
const { site, channels } = await parser.parseChannels(filepath)
|
const { site, channels } = await parser.parseChannels(filepath)
|
||||||
|
|
||||||
const output = []
|
const output = []
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue