Added extra filter to make sure the other `unwrap()` also doesn't make `eza` crash.
@@ -204,6 +204,7 @@ fn get_files_in_dir(paths: &mut Vec<PathBuf>, path: PathBuf) {
vec![path]
}
Ok(d) => d
+ .filter(std::result::Result::is_ok)
.map(|entry| entry.unwrap().path())
.collect::<Vec<PathBuf>>(),