Skip to content
This repository has been archived by the owner on May 30, 2024. It is now read-only.

Commit

Permalink
Stop triggering a refresh if the workspace hasn't changed
Browse files Browse the repository at this point in the history
Co-authored-by: Vinicius Stock <[email protected]>
  • Loading branch information
paracycle and vinistock committed Feb 1, 2024
1 parent dc50a50 commit 0064dad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dependenciesTree.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export class DependenciesTree
});

this.workspaceListener = STATUS_EMITTER.event((workspace) => {
if (!workspace) {
if (!workspace || workspace === this.currentWorkspace) {
return;
}

Expand Down

0 comments on commit 0064dad

Please sign in to comment.