Skip to content

Commit

Permalink
fix: 254
Browse files Browse the repository at this point in the history
  • Loading branch information
jm33-m0 committed Sep 20, 2023
1 parent 2ebb6f4 commit a9f3674
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions core/lib/cc/cli.go
Original file line number Diff line number Diff line change
Expand Up @@ -443,9 +443,8 @@ func CliAsk(prompt string, allow_empty bool) (answer string) {
answer, err = EmpReadLine.Readline()
if err != nil {
if err == readline.ErrInterrupt || err == io.EOF {
continue
break
}
CliPrintError("CliAsk: %v", err)
}
answer = strings.TrimSpace(answer)
if answer != "" && !allow_empty {
Expand Down

0 comments on commit a9f3674

Please sign in to comment.