Skip to content

Commit

Permalink
fix(core): resolve dependent task output files path (#22253)
Browse files Browse the repository at this point in the history
  • Loading branch information
sloonz committed May 3, 2024
1 parent d71a324 commit ad8a3ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/nx/src/native/tasks/hashers/hash_task_output.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ pub fn hash_task_output(workspace_root: &str, glob: &str, outputs: &[String]) ->
let hashes = output_files
.into_par_iter()
.filter(|file| glob.is_match(file))
.filter_map(hash_file)
.filter_map(|file| hash_file(Path::new(workspace_root).join(file).to_str().expect("path contains invalid utf-8").to_owned()))
.collect::<Vec<_>>();
Ok(hash_array(hashes))
}

0 comments on commit ad8a3ee

Please sign in to comment.