diff options
Diffstat (limited to 'helix-term/src/health.rs')
-rw-r--r-- | helix-term/src/health.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/helix-term/src/health.rs b/helix-term/src/health.rs index ac9f06fc..e8fbb84d 100644 --- a/helix-term/src/health.rs +++ b/helix-term/src/health.rs @@ -281,7 +281,7 @@ fn probe_protocol(protocol_name: &str, server_cmd: Option<String>) -> std::io::R writeln!(stdout, "Configured {}: {}", protocol_name, cmd_name)?; if let Some(cmd) = server_cmd { - let path = match which::which(&cmd) { + let path = match which::which(cmd) { Ok(path) => path.display().to_string().green(), Err(_) => "Not found in $PATH".to_string().red(), }; |