Skip to content

Commit

Permalink
chore: Fix linter warnings 🚨
Browse files Browse the repository at this point in the history
  • Loading branch information
guisea committed Apr 23, 2024
1 parent a556f37 commit 5a9d103
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/provider/gitea.go
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ func (repo *GiteaRepository) GetInfo() (*provider.RepositoryInfo, error) {

//lint:ignore U1000 Ignore unused function temporarily for debugging
//revive:disable-next-line
func (repo *GiteaRepository) getCommitsFromGitea(fromSha string, toSha string, opts *gitea.ListOptions) ([]*gitea.Commit, *gitea.Response, error) {
func (repo *GiteaRepository) getCommitsFromGitea(fromSha, toSha string, opts *gitea.ListOptions) ([]*gitea.Commit, *gitea.Response, error) {
return repo.client.ListRepoCommits(repo.owner, repo.repo, gitea.ListCommitOptions{
SHA: toSha,
ListOptions: *opts,
Expand Down

0 comments on commit 5a9d103

Please sign in to comment.