Fix file exclusion (oops)

feature/lookup-installed
trivernis 2 years ago
parent 190c4516e8
commit a634111867
Signed by: Trivernis
GPG Key ID: DFFFCC2C7A02DB45

@ -83,7 +83,7 @@ async fn get_applications(path: &Path) -> MapperResult<Vec<NodeApp>> {
while let Some(entry) = iter.next_entry().await? { while let Some(entry) = iter.next_entry().await? {
let entry_path = entry.path(); 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)); files.push(NodeApp::new(entry));
} }
} }

Loading…
Cancel
Save