Print pr status numbers in green
We use green to signify "open" state of issues & PRs in `list` commands (as opposed to red for "closed" and purple for "merged" state), so let's be consistent in `status` commands too, where all displayed items are guaranteed to be open.
This commit is contained in:
parent
2c94616969
commit
3346e7b8dc
1 changed files with 1 additions and 1 deletions
|
|
@ -436,7 +436,7 @@ func prCheckout(cmd *cobra.Command, args []string) error {
|
|||
func printPrs(w io.Writer, prs ...api.PullRequest) {
|
||||
for _, pr := range prs {
|
||||
prNumber := fmt.Sprintf("#%d", pr.Number)
|
||||
fmt.Fprintf(w, " %s %s %s", utils.Yellow(prNumber), truncate(50, replaceExcessiveWhitespace(pr.Title)), utils.Cyan("["+pr.HeadLabel()+"]"))
|
||||
fmt.Fprintf(w, " %s %s %s", utils.Green(prNumber), truncate(50, replaceExcessiveWhitespace(pr.Title)), utils.Cyan("["+pr.HeadLabel()+"]"))
|
||||
|
||||
checks := pr.ChecksStatus()
|
||||
reviews := pr.ReviewStatus()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue