Skip to content
This repository has been archived by the owner on Feb 16, 2023. It is now read-only.

Commit

Permalink
Fix typo comparision => comparison
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonBarendse committed Mar 29, 2019
1 parent be589a6 commit f3b0929
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internals/cli/ui/ask.go
Expand Up @@ -77,7 +77,7 @@ func AskAndValidate(io IO, question string, n int, validationFunc func(string) e
}

// ConfirmCaseInsensitive asks the user to confirm by typing one of the expected strings.
// The comparision is not case-sensitive. If multiple values for expected are given,
// The comparison is not case-sensitive. If multiple values for expected are given,
// true is returned if the input equals any of the the expected values.
func ConfirmCaseInsensitive(io IO, question string, expected ...string) (bool, error) {
response, err := Ask(io, fmt.Sprintf("%s: ", question))
Expand Down

0 comments on commit f3b0929

Please sign in to comment.