From 6a3255c386b6bc3749a0d099d477bc9d47ef3295 Mon Sep 17 00:00:00 2001 From: Ed Page Date: Fri, 6 Sep 2024 09:44:00 -0500 Subject: [PATCH] refactor(new): Ensure we always talk about the xame manifest --- src/cargo/ops/cargo_new.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cargo/ops/cargo_new.rs b/src/cargo/ops/cargo_new.rs index 4598db07ed6..df4d814fb11 100644 --- a/src/cargo/ops/cargo_new.rs +++ b/src/cargo/ops/cargo_new.rs @@ -906,7 +906,7 @@ mod tests { } } - if let Err(e) = Workspace::new(&path.join("Cargo.toml"), gctx) { + if let Err(e) = Workspace::new(&manifest_path, gctx) { crate::display_warning_with_error( "compiling this new package may not work due to invalid \ workspace configuration",