diff options
author | a1012112796 <1012112796@qq.com> | 2021-02-23 02:54:01 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-22 19:54:01 +0100 |
commit | 7bf61a89d3e5f127556a4fa5099b2b6796dfc851 (patch) | |
tree | c56438680f97e6609e56896490f10aa708de880f /services | |
parent | ff2a0e8dcd7f13c8bee2d5939b70ad6227f2b4d0 (diff) | |
download | gitea-7bf61a89d3e5f127556a4fa5099b2b6796dfc851.tar.gz gitea-7bf61a89d3e5f127556a4fa5099b2b6796dfc851.zip |
fix a small nit (#14769)
Diffstat (limited to 'services')
-rw-r--r-- | services/webhook/webhook.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/services/webhook/webhook.go b/services/webhook/webhook.go index 87f28a5cdc..cc79ec15d1 100644 --- a/services/webhook/webhook.go +++ b/services/webhook/webhook.go @@ -130,6 +130,8 @@ func prepareWebhook(w *models.Webhook, repo *models.Repository, event models.Hoo if !e.Has() { return nil } + + break } } |