mirror of
https://github.com/iptv-org/epg
synced 2026-05-07 18:07:05 -04:00
Fix linter issues in sites/
This commit is contained in:
@@ -77,8 +77,8 @@ function parseItems(content) {
|
||||
let data
|
||||
try {
|
||||
data = JSON.parse(content)
|
||||
} catch (error) {
|
||||
console.log(error.message)
|
||||
} catch {
|
||||
return []
|
||||
}
|
||||
if (!data || !Array.isArray(data)) return []
|
||||
|
||||
|
||||
Reference in New Issue
Block a user