mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-08-02 16:35:19 +02:00
Fixed linting errors for variable definitions
This commit is contained in:
parent
42ec5ce740
commit
6dd2c3b2db
2 changed files with 2 additions and 2 deletions
|
@ -65,7 +65,7 @@ func CommitToPushCommit(commit *git.Commit) *PushCommit {
|
|||
|
||||
// ListToPushCommits transforms a list.List to PushCommits type.
|
||||
func ListToPushCommits(l *list.List) *PushCommits {
|
||||
commits := make([]*PushCommit, 0)
|
||||
var commits []*PushCommit
|
||||
var actEmail string
|
||||
for e := l.Front(); e != nil; e = e.Next() {
|
||||
commit := e.Value.(*git.Commit)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue