From 4243eeeb2b0a4f1c8a84e850f567e6445a8ed939 Mon Sep 17 00:00:00 2001 From: Lukas Wirth Date: Tue, 4 Apr 2023 07:55:09 +0200 Subject: [PATCH] fix: Fix vscode project linking popup buttons being swapped --- editors/code/src/client.ts | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/editors/code/src/client.ts b/editors/code/src/client.ts index 4ca6601a6aa..1db02e21058 100644 --- a/editors/code/src/client.ts +++ b/editors/code/src/client.ts @@ -148,15 +148,16 @@ export async function createClient( "Don't show this again" ); switch (choice) { - case "Yes": - break; case "No": + break; + case "Yes": await config.update( "linkedProjects", config .get("linkedProjects") ?.concat( - path.fsPath.substring(folder.length) + "." + + path.fsPath.substring(folder.length) ), false );