From 1c388d6b2d4d56ad97bcd29a956a4dfb4b9029bc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fe=CC=81lix=20Saparelli?= Date: Sun, 16 Jan 2022 02:03:02 +1300 Subject: [PATCH] Logic inversione --- lib/src/ignore/files.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/src/ignore/files.rs b/lib/src/ignore/files.rs index b924a82..cd059a2 100644 --- a/lib/src/ignore/files.rs +++ b/lib/src/ignore/files.rs @@ -136,7 +136,7 @@ pub async fn from_origin(path: impl AsRef) -> (Vec, Vec } 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;