From b462f9f3bfc971089387db818dc8e33b35e2918a Mon Sep 17 00:00:00 2001 From: megaproxy Date: Mon, 25 May 2026 20:10:31 +0100 Subject: [PATCH] Acknowledge SpawnSpec::Ssh host_id in build_command pattern --- src-tauri/src/pty.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src-tauri/src/pty.rs b/src-tauri/src/pty.rs index 7025420..b7d7961 100644 --- a/src-tauri/src/pty.rs +++ b/src-tauri/src/pty.rs @@ -274,6 +274,9 @@ fn build_command(spec: &SpawnSpec) -> Result<(CommandBuilder, &'static str)> { identity_file, jump_host, extra_args, + // Read in `spawn()` to look up the saved password; not needed + // when building the command line. + host_id: _, } => { validate_ssh_token("host", host)?; if let Some(u) = user.as_deref() {