chore: reformat & clippy cleanup #96
@ -107,7 +107,7 @@ impl OPNsenseShell for SshOPNSenseShell {
|
|||||||
match result {
|
match result {
|
||||||
Ok(bytes) => {
|
Ok(bytes) => {
|
||||||
if !bytes.is_empty() {
|
if !bytes.is_empty() {
|
||||||
remote_file.write(&bytes).await?;
|
AsyncWriteExt::write_all(&mut remote_file, &bytes).await?;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Err(e) => todo!("Error unhandled {e}"),
|
Err(e) => todo!("Error unhandled {e}"),
|
||||||
|
Loading…
Reference in New Issue
Block a user