Fix rust lints

This commit is contained in:
Rūdolfs Ošiņš
2024-09-02 14:59:52 +02:00
parent 397b35ffe0
commit b68a31feba
3 changed files with 3 additions and 4 deletions
+1 -1
View File
@@ -13,7 +13,7 @@ pub fn authenticate(ctx: tauri::State<AppState>) -> Result<(), Error> {
match ssh::agent::Agent::connect() {
Ok(mut agent) => {
if agent.request_identities()?.contains(&profile.public_key) {
return Ok(());
Ok(())
} else {
Err(Error::WithHint {
err: anyhow!("Not able to find your keys in the ssh agent"),