diff --git a/command/pr.go b/command/pr.go index bd7743f46..85a3e2b86 100644 --- a/command/pr.go +++ b/command/pr.go @@ -412,28 +412,28 @@ func printPrs(w io.Writer, totalCount int, prs ...api.PullRequest) { var summary string if checks.Failing > 0 { if checks.Failing == checks.Total { - summary = utils.Red("All checks failing") + summary = utils.Red("× All checks failing") } else { summary = utils.Red(fmt.Sprintf("%d/%d checks failing", checks.Failing, checks.Total)) } } else if checks.Pending > 0 { summary = utils.Yellow("Checks pending") } else if checks.Passing == checks.Total { - summary = utils.Green("Checks passing") + summary = utils.Green("✓ Checks passing") } - fmt.Fprintf(w, " - %s", summary) + fmt.Fprintf(w, "%s", summary) } 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")) } } else { s := strings.Title(strings.ToLower(pr.State)) - fmt.Fprintf(w, " - %s", prStateColorFunc(s)) + fmt.Fprintf(w, "%s", prStateColorFunc(s)) } fmt.Fprint(w, "\n")