mirror of
https://github.com/SukkaW/Surge.git
synced 2026-02-03 12:31:54 +08:00
Chore: introduce eslint to build script
This commit is contained in:
@@ -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(() => { });
|
||||
|
||||
Reference in New Issue
Block a user