Merge pull request #42492 from thaJeztah/remove_fsutil_debug_log

pkg/fileutils: PatternMatcher.Matches(): remove debug logging
This commit is contained in:
Sebastiaan van Stijn 2021-06-09 18:19:01 +02:00 committed by GitHub
commit 86b4d88e55
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 6 deletions

View File

@ -9,8 +9,6 @@ import (
"regexp"
"strings"
"text/scanner"
"github.com/sirupsen/logrus"
)
// PatternMatcher allows checking paths against a list of patterns
@ -89,10 +87,6 @@ func (pm *PatternMatcher) Matches(file string) (bool, error) {
}
}
if matched {
logrus.Debugf("Skipping excluded path: %s", file)
}
return matched, nil
}