chore: make lint happy
This commit is contained in:
@@ -38,7 +38,7 @@ export default function (path: string) {
|
|||||||
if (v.endsWith('.js'))
|
if (v.endsWith('.js'))
|
||||||
compileJs(v)
|
compileJs(v)
|
||||||
else if (v.endsWith('.jsx')) {
|
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)
|
io.move(v, v2)
|
||||||
compileJs(v2)
|
compileJs(v2)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user