diff --git a/src/session.ts b/src/session.ts index a65484ecc1..512669ab05 100644 --- a/src/session.ts +++ b/src/session.ts @@ -329,7 +329,7 @@ export class SessionManager implements Middleware { const choice = await vscode.window.showWarningMessage(warningMessage, "Let's do it!"); - if (choice === "") { + if (choice === undefined) { // They hit the 'x' to close the dialog. return; }