Make approval statuses sentence case

This commit is contained in:
Amanda Pinsker 2020-02-10 16:15:02 -08:00 committed by GitHub
parent 1286c09360
commit e61b216b4f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -400,11 +400,11 @@ func printPrs(w io.Writer, totalCount int, prs ...api.PullRequest) {
}
if reviews.ChangesRequested {
fmt.Fprintf(w, " - %s", utils.Red("changes requested"))
fmt.Fprintf(w, " - %s", utils.Red("Changes requested"))
} else if reviews.ReviewRequired {
fmt.Fprintf(w, " - %s", utils.Yellow("review required"))
fmt.Fprintf(w, " - %s", utils.Yellow("Review required"))
} else if reviews.Approved {
fmt.Fprintf(w, " - %s", utils.Green("approved"))
fmt.Fprintf(w, " - %s", utils.Green("Approved"))
}
fmt.Fprint(w, "\n")