mirror of
https://github.com/iptv-org/epg
synced 2025-12-17 10:56:57 -05:00
Update validate.js
This commit is contained in:
@@ -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 = []
|
||||||
|
|||||||
Reference in New Issue
Block a user