mirror of
https://seed.radicle.dev/rad:z4V1sjrXqjvFdnCUbxPFqd5p4DtH5.git
synced 2026-11-29 10:10:30 +08:00
Fix rust lints
This commit is contained in:
@@ -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"),
|
||||
|
||||
Reference in New Issue
Block a user