From 05fed16f6ddfc79b6fdf64c2e11f3c1a26259d00 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Roth?= Date: Sat, 20 Apr 2024 22:49:04 +0200 Subject: [PATCH] fix golangci-lint error --- task/list.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/task/list.go b/task/list.go index 092ecb1e..453e4db4 100644 --- a/task/list.go +++ b/task/list.go @@ -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()