Auto merge of #14481 - Veykril:vscode-linking-popup, r=Veykril
fix: Fix vscode project linking popup buttons being swapped closes https://github.com/rust-lang/rust-analyzer/issues/14480
This commit is contained in:
commit
f070093462
@ -148,14 +148,15 @@ export async function createClient(
|
|||||||
"Don't show this again"
|
"Don't show this again"
|
||||||
);
|
);
|
||||||
switch (choice) {
|
switch (choice) {
|
||||||
case "Yes":
|
|
||||||
break;
|
|
||||||
case "No":
|
case "No":
|
||||||
|
break;
|
||||||
|
case "Yes":
|
||||||
await config.update(
|
await config.update(
|
||||||
"linkedProjects",
|
"linkedProjects",
|
||||||
config
|
config
|
||||||
.get<any[]>("linkedProjects")
|
.get<any[]>("linkedProjects")
|
||||||
?.concat(
|
?.concat(
|
||||||
|
"." +
|
||||||
path.fsPath.substring(folder.length)
|
path.fsPath.substring(folder.length)
|
||||||
),
|
),
|
||||||
false
|
false
|
||||||
|
Loading…
Reference in New Issue
Block a user