From cc42fcb342063deb6728efb5848eb7c0425184bf Mon Sep 17 00:00:00 2001 From: Bazyli Cyran Date: Tue, 28 Mar 2023 18:59:24 +0200 Subject: [PATCH] chore: Fix lint errors --- bumper/check_test.go | 2 +- upstream/provider.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bumper/check_test.go b/bumper/check_test.go index 3e8db66..8a7c80b 100644 --- a/bumper/check_test.go +++ b/bumper/check_test.go @@ -38,7 +38,7 @@ func (provider *fakeVersionProvider) LatestVersion() (upstream.Version, error) { return upstream.Version(provider.version), nil } -func (provider *fakeVersionProvider) Equal(other interface{}) bool { +func (provider *fakeVersionProvider) Equal(_ interface{}) bool { return false } diff --git a/upstream/provider.go b/upstream/provider.go index 97d088f..4acd1d8 100644 --- a/upstream/provider.go +++ b/upstream/provider.go @@ -19,7 +19,7 @@ func NewVersionProvider(url string, providersConfig config.Value) VersionProvide if gitHubProvider := newGitHubProvider(url, providersConfig.Get("github")); gitHubProvider != nil { return gitHubProvider } - if gitLabProvider := newGitLabProvider(url, providersConfig.Get("gitlab")); gitLabProvider != nil { + if gitLabProvider := newGitLabProvider(url, providersConfig.Get("gitlab")); gitLabProvider != nil { // nolint:revive return gitLabProvider } return nil