@@ -129,7 +129,7 @@ func main() {
129
129
re := regexp2 .MustCompile (pattern , regexp2 .IgnoreCase )
130
130
pathRegexPatterns = append (pathRegexPatterns , re )
131
131
}
132
- matchPattern = pathsFinder (files , pathRegexPatterns )
132
+ matchPattern = PathsFinder (files , pathRegexPatterns )
133
133
if ! config .Options .ContentMatchDependsOnPathMatch {
134
134
for _ , file := range * matchPattern {
135
135
LogMessage (LOG_INFO , "[ALERT]" , "File match on" , file )
@@ -144,9 +144,9 @@ func main() {
144
144
if len (config .Input .Content .Grep ) > 0 || len (config .Input .Content .Checksum ) > 0 {
145
145
LogMessage (LOG_INFO , "[INFO]" , "Checking for content and checksum matchs in" , basePath )
146
146
if config .Options .ContentMatchDependsOnPathMatch {
147
- matchContent = findInFiles (matchPattern , config .Input .Content .Grep , config .Input .Content .Checksum )
147
+ matchContent = FindInFiles (matchPattern , config .Input .Content .Grep , config .Input .Content .Checksum )
148
148
} else {
149
- matchContent = findInFiles (files , config .Input .Content .Grep , config .Input .Content .Checksum )
149
+ matchContent = FindInFiles (files , config .Input .Content .Grep , config .Input .Content .Checksum )
150
150
}
151
151
}
152
152
0 commit comments