mirror of
https://github.com/iptv-org/epg
synced 2025-12-16 18:37:01 -05:00
Fix linter issues in sites/
This commit is contained in:
@@ -39,7 +39,7 @@ function parseItems(content) {
|
||||
let data
|
||||
try {
|
||||
data = JSON.parse(content)
|
||||
} catch (error) {
|
||||
} catch {
|
||||
return []
|
||||
}
|
||||
if (!data || !Array.isArray(data)) return []
|
||||
|
||||
Reference in New Issue
Block a user