mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-01-02 21:58:43 +00:00
Add linter ineffassign (#550)
This commit is contained in:
parent
34a17f8219
commit
eb134a2e27
2 changed files with 1 additions and 1 deletions
|
@ -20,6 +20,7 @@ linters:
|
||||||
- staticcheck
|
- staticcheck
|
||||||
- structcheck
|
- structcheck
|
||||||
- varcheck
|
- varcheck
|
||||||
|
- ineffassign
|
||||||
|
|
||||||
run:
|
run:
|
||||||
timeout: 5m
|
timeout: 5m
|
||||||
|
|
|
@ -356,7 +356,6 @@ func (q *fifo) updateDepStatusInQueue(taskID string, status string) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
next = nil
|
|
||||||
for e := q.waitingOnDeps.Front(); e != nil; e = next {
|
for e := q.waitingOnDeps.Front(); e != nil; e = next {
|
||||||
next = e.Next()
|
next = e.Next()
|
||||||
waiting, ok := e.Value.(*Task)
|
waiting, ok := e.Value.(*Task)
|
||||||
|
|
Loading…
Reference in a new issue