The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.
Rust agent-orchestrationai-agentsai-assistantdesktopllmlocal-firstmcppersonal-aiprivacyrustsecond-braintauri
chore(approval): collapse multi-line env setter in test guard
Steven Enamakele9979f4c3fa6
diff --git a/src/openhuman/security/approval/gate_tests.rs b/src/openhuman/security/approval/gate_tests.rsindex a25f0aa6e6..ecbc118f2d 100644--- a/src/openhuman/security/approval/gate_tests.rs+++ b/src/openhuman/security/approval/gate_tests.rs@@ -76,9 +76,7 @@ struct ExpiryEnvGuard {impl Drop for ExpiryEnvGuard {fn drop(&mut self) {match self.previous_ttl.take() {- Some(value) => unsafe {- std::env::set_var("OPENHUMAN_APPROVAL_TTL_SECS", value)- },+ Some(value) => unsafe { std::env::set_var("OPENHUMAN_APPROVAL_TTL_SECS", value) },None => unsafe { std::env::remove_var("OPENHUMAN_APPROVAL_TTL_SECS") },}}