fix: add --all to cargo fmt in script/test and autoformat codebase
cargo fmt without --all fails with "Failed to find targets" in workspace repos. This was blocking every story's gates. Also ran cargo fmt --all to fix all existing formatting issues. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -107,9 +107,7 @@ pub async fn handle_rmtree(
|
||||
return format!("Failed to remove worktree for story {story_number}: {e}");
|
||||
}
|
||||
|
||||
crate::slog!(
|
||||
"[matrix-bot] rmtree command: removed worktree for {story_id} (bot={bot_name})"
|
||||
);
|
||||
crate::slog!("[matrix-bot] rmtree command: removed worktree for {story_id} (bot={bot_name})");
|
||||
|
||||
let mut response = format!("Removed worktree for **{story_id}**.");
|
||||
if !stopped_agents.is_empty() {
|
||||
@@ -131,11 +129,8 @@ mod tests {
|
||||
|
||||
#[test]
|
||||
fn extract_with_full_user_id() {
|
||||
let cmd = extract_rmtree_command(
|
||||
"@timmy:home.local rmtree 42",
|
||||
"Timmy",
|
||||
"@timmy:home.local",
|
||||
);
|
||||
let cmd =
|
||||
extract_rmtree_command("@timmy:home.local rmtree 42", "Timmy", "@timmy:home.local");
|
||||
assert_eq!(
|
||||
cmd,
|
||||
Some(RmtreeCommand::Rmtree {
|
||||
|
||||
Reference in New Issue
Block a user