Worktrunk is a CLI for Git worktree management, designed for parallel AI agent workflows
fix(taskfile): drop codex from bench list without leaving an empty element (#3611)
Worktrunk Bot4cf300604194
diff --git a/Taskfile.yaml b/Taskfile.yamlindex f055317f3..2347ee68a 100644--- a/Taskfile.yaml+++ b/Taskfile.yaml@@ -408,7 +408,14 @@ tasks:echo " ✓ jq (required for codex)"elseecho " ✗ jq (required for codex)"- AVAILABLE=("${AVAILABLE[@]/codex}")+ # Drop codex from the list. String substitution (${AVAILABLE[@]/codex})+ # would rewrite the element to "" rather than remove it, leaving an+ # empty tool name to iterate over later — rebuild the array instead.+ FILTERED=()+ for tool in "${AVAILABLE[@]}"; do+ [ "$tool" = codex ] || FILTERED+=("$tool")+ done+ AVAILABLE=("${FILTERED[@]}")fiecho ""