Skip to content

Commit

Permalink
wait promises
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreasArvidsson committed Nov 30, 2023
1 parent 56141dc commit 92d0e20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/state.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export function registerStateUpdater(): vscode.Disposable {
vscode.workspace.onDidChangeWorkspaceFolders(() => updateState()),
vscode.window.onDidChangeWindowState((states) => {
if (states.focused) {
void updateState();
return updateState();
}
})
);
Expand Down

0 comments on commit 92d0e20

Please sign in to comment.