We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 418589a commit 28ceea5Copy full SHA for 28ceea5
src/fileWather.ts
@@ -9,9 +9,9 @@ export class SyncHandler {
9
10
public static updateFileWatcher(autoRefresh: boolean): void {
11
if (autoRefresh) {
12
- instrumentOperation(SyncHandler.ENABLE_AUTO_REFRESH, () => this.enableAutoRefresh());
+ instrumentOperation(SyncHandler.ENABLE_AUTO_REFRESH, () => this.enableAutoRefresh())();
13
} else {
14
- instrumentOperation(SyncHandler.DISABLE_AUTO_REFRESH, () => this.disableAutoRefresh());
+ instrumentOperation(SyncHandler.DISABLE_AUTO_REFRESH, () => this.disableAutoRefresh())();
15
}
16
17
0 commit comments