Skip to content

Commit 67768ba

Browse files
authored
Fix closed PR color from gray to red (#36)
1 parent 63af4a9 commit 67768ba

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

main.go

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -130,13 +130,13 @@ func printBranches(branches []Branch) {
130130
}
131131

132132
func getIssueNoColor(state PullRequestState, isDraft bool) color.Attribute {
133-
if isDraft {
134-
return color.FgHiBlack
135-
}
136-
137133
switch state {
138134
case Open:
139-
return color.FgGreen
135+
if isDraft {
136+
return color.FgHiBlack
137+
} else {
138+
return color.FgGreen
139+
}
140140
case Merged:
141141
return color.FgMagenta
142142
case Closed:

0 commit comments

Comments
 (0)