fix: Fix vscode project linking popup buttons being swapped

This commit is contained in:
Lukas Wirth 2023-04-04 07:55:09 +02:00
parent 236576227a
commit 4243eeeb2b

View File

@ -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<any[]>("linkedProjects")
?.concat(
path.fsPath.substring(folder.length)
"." +
path.fsPath.substring(folder.length)
),
false
);