From 62a8b7846ff2e85d42f836626257d50af0c9cd72 Mon Sep 17 00:00:00 2001 From: "zed-zippy[bot]" <234243425+zed-zippy[bot]@users.noreply.github.com> Date: Tue, 18 Nov 2025 15:35:31 +0000 Subject: [PATCH] remote: Fix up incorrect logs (#42979) (cherry-pick to stable) (#42985) Cherry-pick of #42979 to stable ---- Release Notes: - N/A *or* Added/Fixed/Improved ... Co-authored-by: Lukas Wirth --- crates/remote/src/transport/ssh.rs | 2 +- crates/remote/src/transport/wsl.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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