Skip to content

Commit cf4e175

Browse files
committed
fix search for cargo lock file
1 parent 437d887 commit cf4e175

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -360,7 +360,7 @@ pub fn build(
360360
let workspace_path = workspace_root.unwrap_or(mount_path.clone());
361361
println!("Workspace path: {}", workspace_path);
362362

363-
let lockfile = format!("{}/Cargo.lock", mount_path);
363+
let lockfile = format!("{}/Cargo.lock", workspace_path);
364364
if !std::path::Path::new(&lockfile).exists() {
365365
println!("Mount directory must contain a Cargo.lock file");
366366
return Err(anyhow!(format!("No lockfile found at {}", lockfile)));

0 commit comments

Comments
 (0)