diff --git a/github/display.go b/github/display.go index b680a51c..b546507e 100644 --- a/github/display.go +++ b/github/display.go @@ -44,7 +44,7 @@ func (widget *Widget) openPRs(repo *GithubRepo, username string) string { } if str == "" { - str = " [grey]none[white]\n" + return " [grey]none[white]\n" } return str @@ -66,7 +66,7 @@ func (widget *Widget) prsForReview(repo *GithubRepo, username string) string { } if str == "" { - str = " [grey]none[white]\n" + return " [grey]none[white]\n" } return str