mirror of
https://github.com/iptv-org/epg.git
synced 2025-05-10 00:50:09 -04:00
Update lint.js
This commit is contained in:
parent
0753151770
commit
9b39e9de56
1 changed files with 2 additions and 0 deletions
|
@ -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 = []
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue