huskies: merge 876
This commit is contained in:
@@ -103,7 +103,10 @@ pub async fn handle_rmtree(
|
||||
}
|
||||
|
||||
// Remove the worktree.
|
||||
if let Err(e) = crate::worktree::prune_worktree_sync(project_root, &story_id) {
|
||||
let config = crate::config::ProjectConfig::load(project_root).unwrap_or_default();
|
||||
if let Err(e) =
|
||||
crate::worktree::remove_worktree_by_story_id(project_root, &story_id, &config).await
|
||||
{
|
||||
return format!("Failed to remove worktree for story {story_number}: {e}");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user