diff --git a/crates/mcp_detector_daemon/src/main.rs b/crates/mcp_detector_daemon/src/main.rs index 4ba2e7b..3c31c9e 100644 --- a/crates/mcp_detector_daemon/src/main.rs +++ b/crates/mcp_detector_daemon/src/main.rs @@ -401,7 +401,15 @@ fn print_list_verbose(servers: &[ServerView]) { } async fn cmd_send_to_ew(name: String, agent: Option) -> anyhow::Result<()> { - ops::disposition(&cli_user(), &name, agent.as_deref(), Choice::SendToEw, None, None).await?; + ops::disposition( + &cli_user(), + &name, + agent.as_deref(), + Choice::SendToEw, + None, + None, + ) + .await?; println!("Sent {name} to Edison Watch and removed it from the local config."); Ok(()) } diff --git a/crates/mcp_detector_daemon/src/ops.rs b/crates/mcp_detector_daemon/src/ops.rs index 455851e..0c693ea 100644 --- a/crates/mcp_detector_daemon/src/ops.rs +++ b/crates/mcp_detector_daemon/src/ops.rs @@ -516,7 +516,9 @@ pub async fn disposition( // submit it verbatim. Otherwise auto-templatize the discovered config. let cfg = match submit_config { Some(c) => c, - None => edison_detectord::secret_detection::templatize_for_fingerprint(&server.config), + None => { + edison_detectord::secret_detection::templatize_for_fingerprint(&server.config) + } }; submit_to_ew(&e, name, &cfg).await? }