From 8e4302e154b53e9da55b3b03631995aea912265f 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 651ada006..244bd1d85 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";