From 985706c6fe959acb24a47cd3b51f7c60b02ad92e Mon Sep 17 00:00:00 2001 From: Federico Terzi Date: Sat, 22 May 2021 12:21:20 +0200 Subject: [PATCH] fix(core): remove unused code --- espanso/src/gui/modulo/manager.rs | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/espanso/src/gui/modulo/manager.rs b/espanso/src/gui/modulo/manager.rs index 948d239..9f4bbde 100644 --- a/espanso/src/gui/modulo/manager.rs +++ b/espanso/src/gui/modulo/manager.rs @@ -39,21 +39,6 @@ impl ModuloManager { Self { is_support_enabled } } - // pub fn is_valid(&self) -> bool { - // self.modulo_path.is_some() - // } - - // pub fn get_version(&self) -> Option { - // if let Some(ref modulo_path) = self.modulo_path { - // if let Ok(output) = Command::new(modulo_path).arg("--version").output() { - // let version = String::from_utf8_lossy(&output.stdout); - // return Some(version.to_string()); - // } - // } - - // None - // } - pub fn invoke(&self, args: &[&str], body: &str) -> Result { if self.is_support_enabled { let exec_path = std::env::current_exe().expect("unable to obtain current exec path");