Don't fail recursion on read_dir error
This commit is contained in:
parent
b4e98a4dd1
commit
0288cc38fc
1 changed files with 2 additions and 2 deletions
|
|
@ -359,8 +359,8 @@ fn collect_files(
|
||||||
in_out_pairs
|
in_out_pairs
|
||||||
.extend(collect_files(files, out_dir, out_file, recursive, false));
|
.extend(collect_files(files, out_dir, out_file, recursive, false));
|
||||||
}
|
}
|
||||||
Err(_) => {
|
Err(e) => {
|
||||||
return Vec::new();
|
warn!("{}: {}", input.display(), e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue