Skip to content

Commit d01a8f0

Browse files
authored
fix: Correct the prompt message when signing in (#327)
1 parent f656f85 commit d01a8f0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/leetCodeManager.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,8 @@ class LeetCodeManager extends EventEmitter {
5858

5959
childProc.on("error", reject);
6060
const name: string | undefined = await vscode.window.showInputBox({
61-
prompt: "Enter user name.",
62-
validateInput: (s: string): string | undefined => s && s.trim() ? undefined : "User name must not be empty",
61+
prompt: "Enter username or E-mail.",
62+
validateInput: (s: string): string | undefined => s && s.trim() ? undefined : "The input must not be empty",
6363
});
6464
if (!name) {
6565
childProc.kill();

0 commit comments

Comments
 (0)