Update scripts/commands/epg/grab.ts

Co-authored-by: Ismaël Moret <30985701+BellezaEmporium@users.noreply.github.com>
This commit is contained in:
Aleksandr Statciuk
2025-10-25 03:31:44 +03:00
committed by GitHub
parent 296b47db4d
commit 581120287c

View File

@@ -109,7 +109,7 @@ async function main() {
channelsFromXML = channelsFromXML.filter((channel: Channel) => {
if (!options.lang) return true
return options.lang.includes(channel.lang)
return channel.lang ? options.lang.includes(channel.lang) : false
})
}