Skip to content
This repository has been archived by the owner on May 24, 2019. It is now read-only.

Commit

Permalink
skip empty pull requests (#17) (#18)
Browse files Browse the repository at this point in the history
Signed-off-by: Andreas Ulm <[email protected]>
  • Loading branch information
root360-AndreasUlm authored and lafriks committed Apr 23, 2019
1 parent fb52920 commit 3713949
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cmd/pulls.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,9 @@ func runPulls(ctx *cli.Context) error {
}

for _, pr := range prs {
if pr == nil {
continue
}
name := pr.Poster.FullName
if len(name) == 0 {
name = pr.Poster.UserName
Expand Down

0 comments on commit 3713949

Please sign in to comment.