From 47617fcdc54af5fbc8c1960b888c8c8c607b2419 Mon Sep 17 00:00:00 2001 From: PhatPhuckDave Date: Fri, 23 May 2025 13:20:04 +0200 Subject: [PATCH] Fix oopsie in iteration over files, now use files instead of args --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index 70e69a4..a372ca5 100644 --- a/main.go +++ b/main.go @@ -40,7 +40,7 @@ func main() { logger.Info("Patterns expanded to %d files", len(files)) wg := sync.WaitGroup{} - for _, file := range flag.Args() { + for _, file := range files { wg.Add(1) go func(file string) { defer wg.Done()