mirror of
https://github.com/qingchencloud/clawpanel.git
synced 2026-05-28 03:40:09 +08:00
fix(ci): gate Windows-only tests with #[cfg(all(test, target_os = windows))]
This commit is contained in:
@@ -1086,7 +1086,7 @@ pub async fn restart_service(label: String) -> Result<(), String> {
|
||||
result
|
||||
}
|
||||
|
||||
#[cfg(test)]
|
||||
#[cfg(all(test, target_os = "windows"))]
|
||||
mod tests {
|
||||
use super::{looks_like_gateway_command_line, parse_listening_pids_from_netstat};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user