1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-03-17 20:47:50 +02:00

fix: adjust unused function params in client mock package (#4738)

- change unused function parameters to blank identifier
- this change can make golangci-lint (revive) pass
This commit is contained in:
idnandre 2024-04-01 20:03:06 +07:00 committed by GitHub
parent 7fc93995b8
commit c9ca63ece7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -46,7 +46,7 @@ type Mock struct {
SyncedFork bool
}
func (c *Mock) SyncFork(ctx *context.Context, head Repo, base Repo) error {
func (c *Mock) SyncFork(_ *context.Context, _ Repo, _ Repo) error {
c.SyncedFork = true
return nil
}