Skip to content

Commit a556f37

Browse files
committed
fix: Ignore unused var 🚨
1 parent 146f473 commit a556f37

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

‎pkg/provider/gitea.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,8 @@ func (repo *GiteaRepository) GetInfo() (*provider.RepositoryInfo, error) {
102102
}
103103

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

0 commit comments

Comments
 (0)