From b2caf0a5b5606415022a8c169bf3293d8b7931c9 Mon Sep 17 00:00:00 2001 From: Amr Bashir Date: Tue, 1 Aug 2023 06:05:32 +0300 Subject: [PATCH] Update mod.rs --- plugins/shell/src/process/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/shell/src/process/mod.rs b/plugins/shell/src/process/mod.rs index 3c5556c9..11a3154e 100644 --- a/plugins/shell/src/process/mod.rs +++ b/plugins/shell/src/process/mod.rs @@ -113,7 +113,7 @@ pub struct Output { fn relative_command_path(command: &Path) -> crate::Result { match platform::current_exe()?.parent() { #[cfg(windows)] - Some(exe_dir) => Ok(exe_dir.join(command).with_extension("exe"), + Some(exe_dir) => Ok(exe_dir.join(command).with_extension("exe")), #[cfg(not(windows))] Some(exe_dir) => Ok(exe_dir.join(command)), None => Err(crate::Error::CurrentExeHasNoParent),