Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

remote: Fix up incorrect logs (#42979)

Lukas Wirthb4e4e0d3ac6b
diff --git a/crates/remote/src/transport/ssh.rs b/crates/remote/src/transport/ssh.rs
index 8fed12a4cb9..6244045d1eb 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 d9a7c7ea36f..c075e4fb121 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