Update validate.js

This commit is contained in:
Aleksandr Statciuk 2022-02-03 04:44:56 +03:00
parent 9b39e9de56
commit eb01ddc327

View file

@ -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 = []