0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-11-12 04:51:38 +01:00

Fix spelling mistake in ProcReceive (#19853)

There was a spelling mistake in the ProcReceive handler. This PR fixes
this.
This commit is contained in:
zeripath 2022-06-01 04:06:31 +01:00 committed by GitHub
parent 730b9a5a62
commit d002e3da00
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View file

@ -23,7 +23,7 @@ func HookProcReceive(ctx *gitea_context.PrivateContext) {
return return
} }
results := agit.ProcRecive(ctx, opts) results := agit.ProcReceive(ctx, opts)
if ctx.Written() { if ctx.Written() {
return return
} }

View file

@ -20,8 +20,8 @@ import (
pull_service "code.gitea.io/gitea/services/pull" pull_service "code.gitea.io/gitea/services/pull"
) )
// ProcRecive handle proc receive work // ProcReceive handle proc receive work
func ProcRecive(ctx *context.PrivateContext, opts *private.HookOptions) []private.HookProcReceiveRefResult { func ProcReceive(ctx *context.PrivateContext, opts *private.HookOptions) []private.HookProcReceiveRefResult {
// TODO: Add more options? // TODO: Add more options?
var ( var (
topicBranch string topicBranch string