Skip to content

Commit 00bbd75

Browse files
atlv24fslabs-bot[bot]
authored andcommitted
fix test lock files
1 parent 4f39cc7 commit 00bbd75

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

src/commands/tests/mod.rs

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -899,8 +899,11 @@ async fn do_test_on_package(
899899
.await;
900900
}
901901
let test_output = match fslabs_test.id == "cargo_lock" {
902-
true => fix_workspace_lockfile(&repo_root, &package_path, &base_revspec, true)
903-
.unwrap_or_else(|e| e.into()),
902+
true => {
903+
let workspace_path = repo_root.join(&member.workspace);
904+
fix_workspace_lockfile(&repo_root, &workspace_path, &base_revspec, true)
905+
.unwrap_or_else(|e| e.into())
906+
}
904907

905908
false => {
906909
Script::new(&fslabs_test.command, true)

0 commit comments

Comments
 (0)