🐛 Fix(custom): fix an issue eslint not worked as expected

This commit is contained in:
Kuingsmile
2025-12-30 13:20:28 +08:00
parent 4fb5a26270
commit b53eccce13
185 changed files with 8014 additions and 7627 deletions
+5 -5
View File
@@ -53,7 +53,7 @@ class Uploader {
if (db.get(configPaths.settings.uploadNotification)) {
const notification = new Notification({
title: $t('UPLOAD_PROGRESS'),
body: $t('UPLOADING')
body: $t('UPLOADING'),
})
notification.show()
}
@@ -85,10 +85,10 @@ class Uploader {
name = await waitForRename(window, window.webContents.id)
}
item.fileName = name || fileName
})
}),
)
}
}
},
})
}
@@ -163,7 +163,7 @@ class Uploader {
showNotification({
title: $t('UPLOAD_FAILED'),
body: util.format(e.stack),
clickToCopy: true
clickToCopy: true,
})
}, 500)
return false
@@ -186,7 +186,7 @@ class Uploader {
showNotification({
title: $t('UPLOAD_FAILED'),
body: util.format(e.stack),
clickToCopy: true
clickToCopy: true,
})
}, 500)
return false