From 92becc4faa947a19a8e91887c3c543b67fbdd130 Mon Sep 17 00:00:00 2001 From: Ruben Arts Date: Mon, 26 Jun 2023 14:07:38 +0200 Subject: [PATCH] fix pixi.toml project name on init (#144) --- src/cli/init.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cli/init.rs b/src/cli/init.rs index d22e5cb0e..f3ae3559a 100644 --- a/src/cli/init.rs +++ b/src/cli/init.rs @@ -49,7 +49,7 @@ pub async fn execute(args: Args) -> anyhow::Result<()> { fs::create_dir_all(&dir).ok(); // Write pixi.toml - let name = manifest_path.file_name().unwrap().to_string_lossy(); + let name = dir.file_name().unwrap().to_string_lossy(); let version = "0.1.0"; let author = get_default_author(); let channel = "conda-forge";