From a2c59014687044441c67700df58e13e95f54f56a Mon Sep 17 00:00:00 2001 From: Steven Enamakel Date: Mon, 30 Mar 2026 21:25:26 -0700 Subject: [PATCH] refactor(service): improve daemon executable name matching - Adjusted the formatting of the name matching logic for the daemon executable in `common.rs` to enhance readability. - Ensured consistency in the checks for the executable name across different operating systems, maintaining clarity in the codebase. --- src/openhuman/service/common.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/openhuman/service/common.rs b/src/openhuman/service/common.rs index 5c254bfc7..90802940e 100644 --- a/src/openhuman/service/common.rs +++ b/src/openhuman/service/common.rs @@ -48,8 +48,8 @@ pub(crate) fn resolve_daemon_executable() -> Result { }; #[cfg(windows)] - let matches = - name.starts_with("openhuman-core-") || name.eq_ignore_ascii_case("openhuman-core.exe"); + let matches = name.starts_with("openhuman-core-") + || name.eq_ignore_ascii_case("openhuman-core.exe"); #[cfg(not(windows))] let matches = name.starts_with("openhuman-core-") || name == "openhuman-core";