Skip to content

Commit 6a3255c

Browse files
committed
refactor(new): Ensure we always talk about the xame manifest
1 parent c015a00 commit 6a3255c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cargo/ops/cargo_new.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -906,7 +906,7 @@ mod tests {
906906
}
907907
}
908908

909-
if let Err(e) = Workspace::new(&path.join("Cargo.toml"), gctx) {
909+
if let Err(e) = Workspace::new(&manifest_path, gctx) {
910910
crate::display_warning_with_error(
911911
"compiling this new package may not work due to invalid \
912912
workspace configuration",

0 commit comments

Comments
 (0)