Misc linting fixes.

This commit is contained in:
Patrick Fic
2025-03-19 13:52:49 -07:00
parent 3277af73f6
commit e67309ed4d
12 changed files with 36 additions and 30 deletions

View File

@@ -9,8 +9,8 @@ import ImportJob from "../decoder/decoder";
let watcher: FSWatcher;
async function StartWatcher(): Promise<boolean> {
const filePaths = store.get("settings.filepaths") || [];
log.info("Use polling? ", store.get("settings.polling").enabled);
const filePaths: string[] = store.get("settings.filepaths") || [];
if (filePaths.length === 0) {
new Notification({
//TODO: Add Translations