Fix exclusion again (It was the wrong way around)

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

@ -104,5 +104,5 @@ fn exclude_path(path: &Path) -> bool {
let extension = extension.to_string_lossy();
let allowed_extensions = ["exe", "bat", "cmd", "ps1"];
allowed_extensions.contains(&extension.as_ref())
!allowed_extensions.contains(&extension.as_ref())
}

Loading…
Cancel
Save