Skip to content

Commit

Permalink
Don't fail recursion on read_dir error
Browse files Browse the repository at this point in the history
  • Loading branch information
andrews05 authored and shssoichiro committed Jul 31, 2023
1 parent b4e98a4 commit 563570d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -359,8 +359,8 @@ fn collect_files(
in_out_pairs
.extend(collect_files(files, out_dir, out_file, recursive, false));
}
Err(_) => {
return Vec::new();
Err(e) => {
warn!("{}: {}", input.display(), e);
}
}
} else {
Expand Down

0 comments on commit 563570d

Please sign in to comment.