Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

style(credentials): remove blank lines in profiles store

Steven Enamakel7ddc123ca4c4
diff --git a/src/openhuman/security/credentials/profiles_impl_01_part_01.rs b/src/openhuman/security/credentials/profiles_impl_01_part_01.rs
index 58421ba27e..1b7e10d55c 100644
--- a/src/openhuman/security/credentials/profiles_impl_01_part_01.rs
+++ b/src/openhuman/security/credentials/profiles_impl_01_part_01.rs
@@ -734,14 +734,12 @@ impl AuthProfilesStore {
}
persisted.profiles = new_persisted_profiles;
profiles = new_profiles;
-
if persist && (!dropped_ids.is_empty() || migrated || keychain_migrated || key_migrated) {
self.write_persisted_locked(&persisted)?;
for id in pending_keychain_deletes {
self.keychain_delete_secrets(&id);
}
}
-
Ok(AuthProfilesData {
schema_version: persisted.schema_version,
updated_at: parse_datetime_with_fallback(&persisted.updated_at),