From b5aea548a8b73d4347b0693529a92405bf30e6d0 Mon Sep 17 00:00:00 2001 From: Danilo Leal <67129314+danilo-leal@users.noreply.github.com> Date: Thu, 24 Oct 2024 09:43:35 -0300 Subject: [PATCH] ssh: Capitalize error and connection strings (#19675) Another tiny PR for the sake of consistency :) Release Notes: - N/A --- crates/recent_projects/src/ssh_connections.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/crates/recent_projects/src/ssh_connections.rs b/crates/recent_projects/src/ssh_connections.rs index e0bd59a248..0718c4f983 100644 --- a/crates/recent_projects/src/ssh_connections.rs +++ b/crates/recent_projects/src/ssh_connections.rs @@ -527,7 +527,7 @@ impl SshClientDelegate { .await .map_err(|e| { anyhow!( - "failed to get remote server binary download url (os: {}, arch: {}): {}", + "Failed to get remote server binary download url (os: {}, arch: {}): {}", platform.os, platform.arch, e @@ -542,7 +542,7 @@ impl SshClientDelegate { version, )) } else { - self.update_status(Some("checking for latest version of remote server"), cx); + self.update_status(Some("Checking for latest version of remote server"), cx); let binary_path = AutoUpdater::get_latest_remote_server_release( platform.os, platform.arch, @@ -552,7 +552,7 @@ impl SshClientDelegate { .await .map_err(|e| { anyhow!( - "failed to download remote server binary (os: {}, arch: {}): {}", + "Failed to download remote server binary (os: {}, arch: {}): {}", platform.os, platform.arch, e @@ -579,7 +579,7 @@ impl SshClientDelegate { .output() .await?; if !output.status.success() { - Err(anyhow!("failed to run command: {:?}", command))?; + Err(anyhow!("Failed to run command: {:?}", command))?; } Ok(()) }