diff --git a/pkg/text/text.go b/pkg/text/text.go index a4972f84..24519eb7 100644 --- a/pkg/text/text.go +++ b/pkg/text/text.go @@ -74,7 +74,5 @@ func ContinueTask(s string, cont, noConfirm bool) bool { return cont } - response = strings.ToLower(response) - - return response == yes || response == y + return strings.EqualFold(response, yes) || strings.EqualFold(response, y) }