From 63880ba9f246d2163d4cd2d37b5af4e771039f2a Mon Sep 17 00:00:00 2001 From: "zed-zippy[bot]" <234243425+zed-zippy[bot]@users.noreply.github.com> Date: Tue, 18 Nov 2025 16:43:41 +0100 Subject: [PATCH] remote: Fix up incorrect logs (#42979) (cherry-pick to stable) (#42984) 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 049ec3575a4b99438587dab2d048503259eb1618..8c518f0d401c4a1a2d869a9021298dc67c628eb7 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 d9a7c7ea36f2c620bf0ba01d7735537b09883f08..c075e4fb1213512792191cb3b5ff5eefc423b339 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