Skip to content

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

fix(gateway): reformat condition for readability

Steven Enamakel8db1a6431fef
diff --git a/app/src-tauri/src/gateway/registry.rs b/app/src-tauri/src/gateway/registry.rs
index 7c5e1610b3..fff4f46dbf 100644
--- a/app/src-tauri/src/gateway/registry.rs
+++ b/app/src-tauri/src/gateway/registry.rs
@@ -136,7 +136,10 @@ pub async fn activate(
// (Connected/Failed) written by this or a later activation, or
// resurrect `Activating` for one that has been superseded.
if state.generation == generation
- && !matches!(state.status, Some(GatewayStatus::Connected { .. } | GatewayStatus::Failed { .. }))
+ && !matches!(
+ state.status,
+ Some(GatewayStatus::Connected { .. } | GatewayStatus::Failed { .. })
+ )
{
state.status = Some(GatewayStatus::Activating { step });
}