Update fs_util.go

This commit is contained in:
Tejal Desai 2020-12-22 00:16:54 -08:00 committed by GitHub
parent 9f76932171
commit 86e361c20e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -951,7 +951,7 @@ func gowalkDir(dir string, existingPaths map[string]struct{}, changeFunc func(st
foundPaths := make([]string, 0)
godirwalk.Walk(dir, &godirwalk.Options{
Callback: func(path string, ent *godirwalk.Dirent) error {
logrus.Tracef("Analyzing path %s", dir)
logrus.Tracef("Analyzing path %s", path)
if IsInIgnoreList(path) {
if IsDestDir(path) {
logrus.Tracef("Skipping paths under %s, as it is a ignored directory", path)