1
0
mirror of https://gitea.com/gitea/tea.git synced 2025-07-22 21:31:46 +02:00

skip empty pull requests () ()

Signed-off-by: Andreas Ulm <andreas.ulm@root360.de>
This commit is contained in:
Andreas Ulm
2019-04-23 18:13:39 +02:00
committed by Lauris BH
parent fb52920af9
commit 3713949934

@ -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