This commit is contained in:
2025-03-27 22:55:52 +01:00
parent f453079c72
commit cc30c2bdcb
6 changed files with 70 additions and 133 deletions

View File

@@ -84,7 +84,7 @@ func ExpandGLobs(patterns map[string]struct{}) ([]string, error) {
}
logger.Debug("Expanding patterns from directory: %s", cwd)
for pattern, _ := range patterns {
for pattern := range patterns {
logger.Trace("Processing pattern: %s", pattern)
matches, _ := doublestar.Glob(os.DirFS(cwd), pattern)
logger.Debug("Found %d matches for pattern %s", len(matches), pattern)