1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-02-05 13:15:26 +02:00

fix: typo in testctx.WithConfig parameter (#5220)

The PR corrects a typo in the parameter of the `testctxt.WithCommit`
function.
This commit is contained in:
Oleksandr Redko 2024-10-25 17:17:38 +03:00 committed by GitHub
parent 7d4671a1f2
commit 869ef71e66
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -68,10 +68,10 @@ func WithCurrentTag(tag string) Opt {
}
}
func WithCommit(commig string) Opt {
func WithCommit(commit string) Opt {
return func(ctx *context.Context) {
ctx.Git.Commit = commig
ctx.Git.FullCommit = commig
ctx.Git.Commit = commit
ctx.Git.FullCommit = commit
}
}