diff --git a/scripts/commands/validate.js b/scripts/commands/validate.js index 1fda98ec..0199ae3f 100644 --- a/scripts/commands/validate.js +++ b/scripts/commands/validate.js @@ -19,6 +19,8 @@ async function main() { } for (const filepath of program.args) { + if (!filepath.endsWith('.xml')) continue + const { site, channels } = await parser.parseChannels(filepath) const output = []