Skip to content

Commit

Permalink
Fixing a typo
Browse files Browse the repository at this point in the history
  • Loading branch information
shech2 committed Dec 25, 2023
1 parent 98a0102 commit cd66ee6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/commands.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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"))

Check failure on line 990 in src/commands.ts

View workflow job for this annotation

GitHub Actions / test

Unexpected var, use let or const instead

Check failure on line 990 in src/commands.ts

View workflow job for this annotation

GitHub Actions / test

Unexpected var, use let or const instead
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")
}


Expand Down

0 comments on commit cd66ee6

Please sign in to comment.