chore: make lint happy

This commit is contained in:
CrescentLeaf
2025-06-15 09:38:39 +08:00
parent a18b5923bf
commit 1d8781e537

View File

@@ -38,7 +38,7 @@ export default function (path: string) {
if (v.endsWith('.js'))
compileJs(v)
else if (v.endsWith('.jsx')) {
let v2 = `${io.getParent(v)}//${io.getName(v).replace(/\.jsx/, '.js')}`
const v2 = `${io.getParent(v)}//${io.getName(v).replace(/\.jsx/, '.js')}`
io.move(v, v2)
compileJs(v2)
}