From 8039f5e778bed57114bec41f7561db1c43212ebf Mon Sep 17 00:00:00 2001 From: godsfryingpan Date: Mon, 23 Mar 2026 16:26:30 -0500 Subject: [PATCH] Revert "first attempt at fixing issue" This reverts commit 99722302a219b4d8ea0718e8be852483523b0a3a. --- src/app.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/app.rs b/src/app.rs index 161198c..a6028ab 100644 --- a/src/app.rs +++ b/src/app.rs @@ -95,9 +95,7 @@ impl App { } } Subcommand::Init => { - let root = std::env::current_dir().expect("the current working directory"); - let path = root.file_name().expect("some file name"); - if let Err(e) = create_project(path.to_string_lossy().to_string()) { + if let Err(e) = create_project(".") { eprintln!("Error initializing project: {e}"); std::process::exit(1); }