Skip to content
This repository was archived by the owner on Apr 23, 2024. It is now read-only.

Commit 0ed67ac

Browse files
committed
style: remove redundant break statement
1 parent 1a7b618 commit 0ed67ac

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

webserver/webhook.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,8 @@ func GitHubWebHookEndpoint(cfg *config.Config, gitHandler *git.GitHandler) Handl
3838
switch cfg.Git.Update.Mode {
3939
case config.GitUpdateModeWebhookGitHub:
4040
processGitHubWebhook(cfg, gitHandler).ServeHTTP(resp, req.Request)
41-
break
4241
default:
4342
resp.Text(http.StatusInternalServerError, "Unknown webhook update mode.")
44-
break
4543
}
4644
}
4745
}

0 commit comments

Comments
 (0)