From ea55f54f20909969dc3ad01b1cb8fcc8faa1ad3d Mon Sep 17 00:00:00 2001 From: Derick M <58572875+TurtIeSocks@users.noreply.github.com> Date: Wed, 28 Feb 2024 14:46:37 -0500 Subject: [PATCH] fix: log simplifcation --- server/algorithms/src/plugin.rs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/server/algorithms/src/plugin.rs b/server/algorithms/src/plugin.rs index 1b4b57df..f96fe546 100644 --- a/server/algorithms/src/plugin.rs +++ b/server/algorithms/src/plugin.rs @@ -119,7 +119,11 @@ impl Plugin { } if path.exists() { plugin_path = path.display().to_string(); - log::info!("{interpreter} {plugin_path} {}", args.join(" ")); + if interpreter == plugin_path { + log::info!("{interpreter} {}", args.join(" ")); + } else { + log::info!("{interpreter} {plugin_path} {}", args.join(" ")); + } } else { return Err(std::io::Error::new( std::io::ErrorKind::NotFound,