From a75063447e0f53a3db5f44e9799c4f8b7a416f69 Mon Sep 17 00:00:00 2001 From: Matthias Simon Date: Mon, 28 Oct 2024 11:35:03 +0100 Subject: [PATCH] Fix for-loop-bug --- show.go | 1 + 1 file changed, 1 insertion(+) diff --git a/show.go b/show.go index 32e4f08f..97a43418 100644 --- a/show.go +++ b/show.go @@ -83,6 +83,7 @@ func printJSON(report *ConfigReport, keys []string) error { wg.Add(len(files)) glist := make([]project.TestConfig, 0, len(files)) for _, file := range files { + file := file go func() { defer wg.Done()