1
0
mirror of https://github.com/taigrr/wtf synced 2025-01-18 04:03:14 -08:00

Return early, return gracefully

This commit is contained in:
Chris Cummer 2018-04-20 11:02:13 -07:00
parent 84290ffe76
commit 67e02bf4f5

View File

@ -44,7 +44,7 @@ func (widget *Widget) openPRs(repo *GithubRepo, username string) string {
} }
if str == "" { if str == "" {
str = " [grey]none[white]\n" return " [grey]none[white]\n"
} }
return str return str
@ -66,7 +66,7 @@ func (widget *Widget) prsForReview(repo *GithubRepo, username string) string {
} }
if str == "" { if str == "" {
str = " [grey]none[white]\n" return " [grey]none[white]\n"
} }
return str return str