diff --git a/internal/prompt/prompt.go b/internal/prompt/prompt.go index 7bca564bd..cd2279af5 100644 --- a/internal/prompt/prompt.go +++ b/internal/prompt/prompt.go @@ -28,7 +28,9 @@ func Confirm(message string) bool { Message: message, } - survey.AskOne(prompt, &result) + if err := survey.AskOne(prompt, &result); err != nil { + return false + } return result }