Chore: introduce eslint to build script

This commit is contained in:
SukkaW
2023-07-12 23:14:20 +08:00
parent aeb90e36ca
commit 09961fad44
20 changed files with 299 additions and 190 deletions

View File

@@ -41,7 +41,7 @@ const fileExists = (path) => {
file: tempFile,
cwd: extractedPath,
filter: (p) => {
return p.split('/')[1] === 'List'
return p.split('/')[1] === 'List';
}
});
@@ -51,7 +51,7 @@ const fileExists = (path) => {
{
overwrite: true
}
)))
)));
await fs.promises.unlink(tempFile).catch(() => { });
await fs.promises.unlink(extractedPath).catch(() => { });