From a63411186727165c0dd90b142015fbce1df533af Mon Sep 17 00:00:00 2001 From: trivernis Date: Sat, 21 Jan 2023 21:52:11 +0100 Subject: [PATCH] Fix file exclusion (oops) --- src/mapper/mapped_dir.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mapper/mapped_dir.rs b/src/mapper/mapped_dir.rs index f41ee8e..425bbca 100644 --- a/src/mapper/mapped_dir.rs +++ b/src/mapper/mapped_dir.rs @@ -83,7 +83,7 @@ async fn get_applications(path: &Path) -> MapperResult> { while let Some(entry) = iter.next_entry().await? { let entry_path = entry.path(); - if entry_path.is_file() || !exclude_path(&entry_path) { + if entry_path.is_file() && !exclude_path(&entry_path) { files.push(NodeApp::new(entry)); } }