fix a small nit (#14769)

This commit is contained in:
a1012112796 2021-02-23 02:54:01 +08:00 committed by GitHub
parent ff2a0e8dcd
commit 7bf61a89d3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -130,6 +130,8 @@ func prepareWebhook(w *models.Webhook, repo *models.Repository, event models.Hoo
if !e.Has() { if !e.Has() {
return nil return nil
} }
break
} }
} }