Skip to content

Commit

Permalink
add missing condition
Browse files Browse the repository at this point in the history
  • Loading branch information
nhedger committed Oct 13, 2024
1 parent f4077bc commit 7eb3e17
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/session.ts
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,8 @@ export const createGlobalSessionWhenNecessary = async () => {
editor: editor?.document.uri.fsPath,
});
if (
editor?.document.uri.scheme === "untitled" ||
(isEnabledGlobally() &&
editor?.document.uri.scheme === "untitled") ||
editor?.document.uri.scheme === "vscode-userdata"
) {
await createGlobalSessionIfNotExists();
Expand Down

0 comments on commit 7eb3e17

Please sign in to comment.