diff --git a/crates/remote/src/transport/ssh.rs b/crates/remote/src/transport/ssh.rs index 41885fd12cf5061d0b4230edb1565aafec77a28a..4f2038085849a033d005544ee4e288558fbd9897 100644 --- a/crates/remote/src/transport/ssh.rs +++ b/crates/remote/src/transport/ssh.rs @@ -489,7 +489,7 @@ impl SshRemoteConnection { let ssh_shell = socket.shell().await; log::info!("Remote shell discovered: {}", ssh_shell); let ssh_platform = socket.platform(ShellKind::new(&ssh_shell, false)).await?; - log::info!("Remote platform discovered: {}", ssh_shell); + log::info!("Remote platform discovered: {:?}", ssh_platform); let ssh_path_style = match ssh_platform.os { "windows" => PathStyle::Windows, _ => PathStyle::Posix, diff --git a/crates/remote/src/transport/wsl.rs b/crates/remote/src/transport/wsl.rs index 52a1fa002298ba24bd1ad2c511a1c43945c11fde..0be6f1e5eec57c3c7af651628112211eabc48156 100644 --- a/crates/remote/src/transport/wsl.rs +++ b/crates/remote/src/transport/wsl.rs @@ -92,7 +92,7 @@ impl WslRemoteConnection { .detect_platform() .await .context("failed detecting platform")?; - log::info!("Remote platform discovered: {}", this.shell); + log::info!("Remote platform discovered: {:?}", this.platform); this.remote_binary_path = Some( this.ensure_server_binary(&delegate, release_channel, version, commit, cx) .await