chore: Another round of style lints fixes (#17519)

Closes #ISSUE

Release Notes:

- N/A
This commit is contained in:
Piotr Osiewicz 2024-09-07 02:36:55 +02:00 committed by GitHub
parent cfd43572c1
commit 095a08d9c8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
33 changed files with 67 additions and 82 deletions

View file

@ -156,7 +156,7 @@ impl SshSession {
run_cmd(socket.ssh_command(&remote_binary_path).arg("version")).await?;
let mut remote_server_child = socket
.ssh_command(&format!(
.ssh_command(format!(
"RUST_LOG={} {:?} run",
std::env::var("RUST_LOG").unwrap_or_default(),
remote_binary_path,
@ -661,7 +661,7 @@ impl SshClientState {
.unwrap_or_default(),
)
.arg(src_path)
.arg(&format!(
.arg(format!(
"{}:{}",
self.socket.connection_options.scp_url(),
dest_path.display()