mirror of
https://github.com/iptv-org/epg
synced 2025-12-16 02:16:40 -05:00
add missing type and fix typing error, bump to es2022
This commit is contained in:
@@ -48,7 +48,7 @@ async function main() {
|
||||
totalErrors++
|
||||
}
|
||||
|
||||
if (!langs.where('1', channel.lang)) {
|
||||
if (!langs.where('1', channel.lang ?? '')) {
|
||||
errors.push({ type: 'wrong_lang', ...channel })
|
||||
totalErrors++
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user