correct filtering

This commit is contained in:
Chris Lu 2021-09-04 13:58:14 -07:00
parent c5ee03d6af
commit d983aa4c7d
2 changed files with 2 additions and 2 deletions

View file

@ -130,7 +130,7 @@ func (c *commandRemoteCache) cacheContentData(commandEnv *CommandEnv, writer io.
return true // true means recursive traversal should continue
}
if fileFilter.matches(entry) {
if !fileFilter.matches(entry) {
return true
}

View file

@ -88,7 +88,7 @@ func (c *commandRemoteUncache) uncacheContentData(commandEnv *CommandEnv, writer
return true // true means recursive traversal should continue
}
if fileFilter.matches(entry) {
if !fileFilter.matches(entry) {
return true
}