We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent eb0360e commit 1f0c7baCopy full SHA for 1f0c7ba
src/path_rewriting.rs
@@ -264,7 +264,7 @@ pub fn rewrite_paths(
264
// If all covered paths are direct childs of the source directory, then that function will
265
// do nothing, and we don't have to do its pre-requisite data gathering.
266
if has_java {
267
- map_partial_path_needed = result_map.keys().any(|path| {
+ map_partial_path_needed = result_map.par_iter().any(|(path, _result)| {
268
let mut path = Path::new(path);
269
if let Some(prefix) = &prefix_dir {
270
path = path.strip_prefix(prefix).unwrap_or(path);
0 commit comments