Skip to content

Commit

Permalink
CLI UX minor fixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
ptgoetz committed Nov 15, 2024
1 parent e646374 commit 7a58031
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/versionbump.go
Original file line number Diff line number Diff line change
Expand Up @@ -592,7 +592,7 @@ func promptUserConfirm(prompt string) bool {
logVerbose(config.Options{}, "Operation canceled by user.")
return false
} else {
printColor("Invalid input. Please enter 'y' or 'n'.", ColorYellow)
printColor("Invalid input. Please enter 'y' or 'n'.\n", ColorYellow)
}
}
}
Expand All @@ -607,7 +607,7 @@ func promptUserForValue(prompt string, defaultValue string, validator func(strin
printColor(fmt.Sprintf("%s [%s]: ", prompt, defaultValue), ColorLightBlue)
input, err := reader.ReadString('\n')
if err != nil {
printColor("Error reading input. Please try again.", ColorYellow)
printColor("Error reading input. Please try again.\n", ColorYellow)
continue
}

Expand Down

0 comments on commit 7a58031

Please sign in to comment.