Skip to content

Commit

Permalink
chore: Fix lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
bcyran committed Mar 28, 2023
1 parent b4afe35 commit cc42fcb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bumper/check_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down
2 changes: 1 addition & 1 deletion upstream/provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit cc42fcb

Please sign in to comment.