chore: cargo fmt after Rust 1.93 toolchain bump
This commit is contained in:
@@ -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();
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user