From b693d1e97f41bce275bef797389a101cdac8fac1 Mon Sep 17 00:00:00 2001 From: nichmor Date: Thu, 24 Oct 2024 18:58:42 +0300 Subject: [PATCH] misc: fix path usage in window case --- src/global/install.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/global/install.rs b/src/global/install.rs index cf0504517..9ce8f4a81 100644 --- a/src/global/install.rs +++ b/src/global/install.rs @@ -99,7 +99,7 @@ pub(crate) async fn create_executable_scripts( let global_script_path = { #[cfg(windows)] { - global_script_path.with_extension("exe") + &global_script_path.with_extension("exe") } #[cfg(unix)] {