diff --git a/src/commands.ts b/src/commands.ts index 69d1ae1c..1d1850f1 100644 --- a/src/commands.ts +++ b/src/commands.ts @@ -987,10 +987,10 @@ async function supportCMD(shell: Shell) { schema = insecure?"http":"https" // ask for email address + check validity - var email = terminal7.conf.peerbook.email || (await shell.askValue("Enter your email address:")) + var email = terminal7.conf.peerbook.email || (await shell.askValue("Enter your email address")) while (!email.includes("@")) { shell.t.writeln("Invalid email address") - email = await shell.askValue("Enter your email address:") + email = await shell.askValue("Enter your email address") }