File tree
Expand file treeCollapse file tree1 file changed
+1
-1
lines changed Expand file treeCollapse file tree1 file changed
+1
-1
lines changed Original file line number | Diff line number | Diff line change |
---|
@@ -26,7 +26,7 @@ export async function switchEndpoint(): Promise<void> {
|
26 | 26 | },
|
27 | 27 | );
|
28 | 28 | const choice: IQuickItemEx<string> | undefined = await vscode.window.showQuickPick(picks);
|
29 |
| -if (!choice) { |
| 29 | +if (!choice || choice.value === getLeetCodeEndpoint()) { |
30 | 30 | return;
|
31 | 31 | }
|
32 | 32 | const leetCodeConfig: vscode.WorkspaceConfiguration = vscode.workspace.getConfiguration("leetcode");
|
|
You can’t perform that action at this time.
0 commit comments