fix: correct worktree-start heredoc bash syntax (#438)
Move the command-substitution closing paren after the heredoc terminator so bash -n passes and worktree lock checks run correctly. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
This commit is contained in:
@@ -42,7 +42,7 @@ repo_root="$(cd "$script_dir/.." && pwd)"
|
|||||||
|
|
||||||
# Enforce issue-linked, traceable branch names (issue → branch → worktree → PR).
|
# Enforce issue-linked, traceable branch names (issue → branch → worktree → PR).
|
||||||
if [[ "$allow_unlinked" -eq 0 ]]; then
|
if [[ "$allow_unlinked" -eq 0 ]]; then
|
||||||
locked_branch=$(PYTHONPATH="$repo_root" python3 - <<'PY' "$branch")
|
locked_branch=$(PYTHONPATH="$repo_root" python3 - "$branch" <<'PY'
|
||||||
import sys
|
import sys
|
||||||
import issue_lock_store
|
import issue_lock_store
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user