chore: cargo fmt after Rust 1.93 toolchain bump

This commit is contained in:
Timmy
2026-05-14 16:33:35 +01:00
parent 6c05c63997
commit 822fcdaf2b
5 changed files with 128 additions and 19 deletions
-17
View File
@@ -223,23 +223,6 @@ pub(super) async fn run_agent_spawn(
slog_error!("[agents] pre-commit hook install failed for {sid}: {e}");
}
// Step 1.5: Update the source map for changed files since master.
// Non-blocking — failures are logged but do not gate the spawn.
{
let wt_path_for_map = wt_info.path.clone();
let base_for_map = wt_info.base_branch.clone();
let map_path = project_root_clone.join(".huskies").join("source-map.json");
match tokio::task::spawn_blocking(move || {
source_map_gen::update_for_worktree(&wt_path_for_map, &base_for_map, &map_path)
})
.await
.unwrap_or_else(|e| Err(e.to_string()))
{
Ok(()) => {}
Err(e) => slog_error!("[agents] source map update for {sid}: {e}"),
}
}
// Step 2: store worktree info and render agent command/args/prompt.
let wt_path_str = wt_info.path.to_string_lossy().to_string();
{