Skip to content

Commit

Permalink
fix(external-ssh-signer): reformat code
Browse files Browse the repository at this point in the history
  • Loading branch information
chirpcel committed Jan 4, 2025
1 parent f2dc59b commit c8de875
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions asyncgit/src/sync/sign.rs
Original file line number Diff line number Diff line change
Expand Up @@ -192,11 +192,9 @@ impl SignBuilder {
NamedTempFile::new().map_err(|err| {
SignBuilderError::SSHSigningKey(err.to_string())
})?;
writeln!(temp_file, "{signing_key}").map_err(
|err| {
SignBuilderError::SSHSigningKey(err.to_string())
},
)?;
writeln!(temp_file, "{signing_key}").map_err(|err| {
SignBuilderError::SSHSigningKey(err.to_string())
})?;
let temp_file = temp_file.keep().map_err(|err| {
SignBuilderError::SSHSigningKey(err.to_string())
})?;
Expand Down

0 comments on commit c8de875

Please sign in to comment.