fix clippy

This commit is contained in:
wonfen
2026-09-26 00:00:50 +08:00
parent 897a117dc5
commit b057bd964c
+4 -1
View File
@@ -12,7 +12,10 @@ use crate::{
#[serde(tag = "status", rename_all = "camelCase")]
pub enum ServiceInstallOutcome {
Installed,
Sidecar { reason: String },
#[cfg(any(windows, test))]
Sidecar {
reason: String,
},
}
async fn execute_service_operation_sync(status: ServiceStatus, error_code: &str) -> CmdResult<ServiceInstallOutcome> {