Skip to content

Commit

Permalink
fix golangci-lint error
Browse files Browse the repository at this point in the history
  • Loading branch information
neolynx committed Apr 20, 2024
1 parent e275a8c commit 346e782
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion task/list.go
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ func (list *List) RunTaskInBackground(name string, resources []string, process P

tasks := list.usedResources.UsedBy(resources)
for len(tasks) > 0 {
for _, task := range(tasks) {
for _, task := range tasks {
list.Unlock()
list.wgTasks[task.ID].Wait()
list.Lock()
Expand Down

0 comments on commit 346e782

Please sign in to comment.