Update lint.js
This commit is contained in:
1 parent
0753151770
commit
9b39e9de56
1 file changed
+2
@@ -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