mirror of
https://github.com/outbackdingo/optimclaw.git
synced 2026-08-25 14:53:34 +00:00
fix: add type annotation for Vec<String> to fix Windows build (#452)
The compiler cannot infer the element type of `conflicts` on Windows because all `push` calls are inside `#[cfg(unix)]` blocks which don't compile on Windows. Co-authored-by: Claude Sonnet 4.6 (1M context) <[email protected]>
This commit is contained in:
co-authored by
Claude Sonnet 4.6
parent
4a7339f4ed
commit
906d618681
@@ -566,7 +566,7 @@ async fn setup_tunnel_cloudflare() -> Result<TunnelSettings, ChannelSetupError>
|
||||
/// Detect running cloudflared processes or managed services that could conflict
|
||||
/// with IronClaw's tunnel management.
|
||||
fn detect_existing_cloudflared() -> Option<String> {
|
||||
let mut conflicts = Vec::new();
|
||||
let mut conflicts: Vec<String> = Vec::new();
|
||||
|
||||
// Check for running cloudflared processes (all platforms)
|
||||
#[cfg(unix)]
|
||||
|
||||
Reference in New Issue
Block a user