Skip to content
This repository has been archived by the owner on Nov 22, 2022. It is now read-only.

Commit

Permalink
Fix(issue): incorrect color for closed issue
Browse files Browse the repository at this point in the history
  • Loading branch information
profclems committed Aug 11, 2020
1 parent 60d2d20 commit 01683d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion commands/issue.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ func displayAllIssues(m []*gitlab.Issue) {
if issue.State == "opened" {
_, _ = fmt.Fprintln(w, color.Sprintf("<green>#%d</>\t%s\t<cyan>(%s)</>\t<gray>%s</>", issue.IID, issue.Title, labels, duration))
} else {
_, _ = fmt.Fprintln(w, color.Sprintf("<green>#%d</>\t%s\t<cyan>(%s)</>\t<gray>%s</>", issue.IID, issue.Title, labels, duration))
_, _ = fmt.Fprintln(w, color.Sprintf("<red>#%d</>\t%s\t<cyan>(%s)</>\t<gray>%s</>", issue.IID, issue.Title, labels, duration))
}
}
} else {
Expand Down

0 comments on commit 01683d4

Please sign in to comment.