8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c64d981 commit e6cd998Copy full SHA for e6cd998
src/commands/plugin.ts
@@ -26,7 +26,7 @@ export async function switchEndpoint(): Promise<void> {
26
},
27
);
28
const choice: IQuickItemEx<string> | undefined = await vscode.window.showQuickPick(picks);
29
- if (!choice) {
+ if (!choice || choice.value === getLeetCodeEndpoint()) {
30
return;
31
}
32
const leetCodeConfig: vscode.WorkspaceConfiguration = vscode.workspace.getConfiguration("leetcode");
0 commit comments