mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-11-25 06:15:01 +00:00
Update deps
This commit is contained in:
6
vendor/github.com/google/go-github/github/repos_commits.go
generated
vendored
6
vendor/github.com/google/go-github/github/repos_commits.go
generated
vendored
@@ -120,13 +120,13 @@ func (s *RepositoriesService) ListCommits(owner, repo string, opt *CommitsListOp
|
||||
return nil, nil, err
|
||||
}
|
||||
|
||||
commits := new([]*RepositoryCommit)
|
||||
resp, err := s.client.Do(req, commits)
|
||||
var commits []*RepositoryCommit
|
||||
resp, err := s.client.Do(req, &commits)
|
||||
if err != nil {
|
||||
return nil, resp, err
|
||||
}
|
||||
|
||||
return *commits, resp, err
|
||||
return commits, resp, nil
|
||||
}
|
||||
|
||||
// GetCommit fetches the specified commit, including all details about it.
|
||||
|
||||
Reference in New Issue
Block a user