Logic inversione

This commit is contained in:
Félix Saparelli 2022-01-16 02:03:02 +13:00
parent 0c2b4848be
commit 1c388d6b2d
No known key found for this signature in database
GPG Key ID: B948C4BAE44FC474
1 changed files with 1 additions and 1 deletions

View File

@ -136,7 +136,7 @@ pub async fn from_origin(path: impl AsRef<Path>) -> (Vec<IgnoreFile>, Vec<Error>
}
if let Some(sf) = &search_filter {
if sf.check_dir(&dir) {
if !sf.check_dir(&dir) {
trace!(?dir, "dir is ignored, adding to skip list");
dirs.skip(dir);
continue;