diff --git a/main.js b/main.js index cfe478e..89ce8b1 100644 --- a/main.js +++ b/main.js @@ -445,7 +445,7 @@ var TaskExportPlugin = class extends import_obsidian3.Plugin { await this.loadSettings(); this.exporter = new TaskExporter(this.app); this.fileWatcher = new FileWatcher( - () => this.autoExport(), + () => void this.autoExport(), this.settings.debounceDelay, this.settings.customersFolder ); diff --git a/src/main.ts b/src/main.ts index 6711957..34dd6e3 100644 --- a/src/main.ts +++ b/src/main.ts @@ -23,7 +23,7 @@ export default class TaskExportPlugin extends Plugin { // Initialize file watcher this.fileWatcher = new FileWatcher( - () => this.autoExport(), + () => void this.autoExport(), this.settings.debounceDelay, this.settings.customersFolder );