Skip to content
This repository has been archived by the owner on May 31, 2024. It is now read-only.

Commit

Permalink
Fix case for No string to no (#419)
Browse files Browse the repository at this point in the history
Signed-off-by: Future Outlier <[email protected]>
Co-authored-by: Future Outlier <[email protected]>
  • Loading branch information
Future-Outlier and Future Outlier authored Sep 17, 2023
1 parent 145bc5c commit aed0d6c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/commandutils/command_utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ func AskForConfirmation(s string, reader io.Reader) bool {
response := strings.ToLower(strings.TrimSpace(r.Text()))
if response == "y" || response == "yes" {
return true
} else if response == "n" || response == "No" {
} else if response == "n" || response == "no" {
return false
}
}
Expand Down

0 comments on commit aed0d6c

Please sign in to comment.