From 651850370a0d7e866ffb470f239c2185b6113e03 Mon Sep 17 00:00:00 2001 From: freearhey <7253922+freearhey@users.noreply.github.com> Date: Tue, 29 Jul 2025 05:28:04 +0300 Subject: [PATCH] Update validate.ts --- scripts/commands/channels/validate.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/commands/channels/validate.ts b/scripts/commands/channels/validate.ts index a7572270..93e6945e 100644 --- a/scripts/commands/channels/validate.ts +++ b/scripts/commands/channels/validate.ts @@ -9,9 +9,9 @@ import { program } from 'commander' import chalk from 'chalk' import langs from 'langs' -program.argument('[filepath]', 'Path to *.channels.xml files to validate').parse(process.argv) +program.argument('[filepath...]', 'Path to *.channels.xml files to validate').parse(process.argv) -type ValidationError = { +interface ValidationError { type: 'duplicate' | 'wrong_channel_id' | 'wrong_feed_id' | 'wrong_lang' name: string lang?: string