Change "push -i" prompt text from "Y/n" to "y/N" to match reality (#2605)

This commit is contained in:
tomf 2023-10-25 05:30:13 +11:00 committed by GitHub
parent e859f535cd
commit b1b41c5fba
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -97,7 +97,7 @@ func (c ConsolePrinter) PrintReport(i int, correction *models.Correction) {
// PromptToRun prompts the user to see if they want to execute a correction.
func (c ConsolePrinter) PromptToRun() bool {
fmt.Fprint(c.Writer, "Run? (Y/n): ")
fmt.Fprint(c.Writer, "Run? (y/N): ")
txt, err := c.Reader.ReadString('\n')
run := true
if err != nil {