Skip to content

Commit

Permalink
Avoid initial notifications
Browse files Browse the repository at this point in the history
Wait until the next fetch, that way the connection has a chance to bump
the activity and avoid a "this workspace will shut down" message that
immediately becomes incorrect.

Closes #383.
  • Loading branch information
code-asher committed Oct 16, 2024
1 parent 09d661e commit 7e56ef9
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/workspaceMonitor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,6 @@ export class WorkspaceMonitor implements vscode.Disposable {
this.statusBarItem = statusBarItem

this.update(workspace) // Set initial state.
this.maybeNotify(workspace)
}

/**
Expand Down

0 comments on commit 7e56ef9

Please sign in to comment.