mirror of
https://github.com/iptv-org/epg
synced 2025-12-17 02:47:02 -05:00
Update lint.js
This commit is contained in:
@@ -39,6 +39,8 @@ async function main() {
|
|||||||
let errors = []
|
let errors = []
|
||||||
|
|
||||||
for (const filepath of program.args) {
|
for (const filepath of program.args) {
|
||||||
|
if (!filepath.endsWith('.xml')) continue
|
||||||
|
|
||||||
const xml = await file.read(filepath)
|
const xml = await file.read(filepath)
|
||||||
|
|
||||||
let localErrors = []
|
let localErrors = []
|
||||||
|
|||||||
Reference in New Issue
Block a user