fixes handling of hidden directories
This commit is contained in:
parent
7c2d6f302b
commit
425f8870e3
@ -62,6 +62,9 @@ func ScanLocalFileStructure(path string, extensions []string, ignoreDirs []strin
|
||||
|
||||
if strings.HasPrefix(info.Name(), ".") {
|
||||
logrus.Tracef("Skipping hidden file or directory %s", path)
|
||||
if info.IsDir() {
|
||||
return filepath.SkipDir
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user