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)); } }