Skip to content

Commit

Permalink
fix: Ignore unused var 🚨
Browse files Browse the repository at this point in the history
  • Loading branch information
guisea committed Apr 23, 2024
1 parent 146f473 commit a556f37
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkg/provider/gitea.go
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,8 @@ func (repo *GiteaRepository) GetInfo() (*provider.RepositoryInfo, error) {
}

//lint:ignore U1000 Ignore unused function temporarily for debugging
func (repo *GiteaRepository) getCommitsFromGitea(fromSha, toSha string, opts *gitea.ListOptions) ([]*gitea.Commit, *gitea.Response, error) {
//revive:disable-next-line
func (repo *GiteaRepository) getCommitsFromGitea(fromSha string, 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 a556f37

Please sign in to comment.