Skip to content

fix: use jq --slurp for multi-line JSON output parsing#634

Merged
jth-nw merged 1 commit intodevfrom
fix/content-fix-separate-pr-creation
Mar 23, 2026
Merged

fix: use jq --slurp for multi-line JSON output parsing#634
jth-nw merged 1 commit intodevfrom
fix/content-fix-separate-pr-creation

Conversation

@jth-nw
Copy link
Collaborator

@jth-nw jth-nw commented Mar 23, 2026

The output file has multi-line JSON objects, so tac (line reversal) broke them. Use jq -rs (raw slurp) to parse all objects at once and extract the result. Added fallback grep for robustness.

The output file has multi-line JSON objects, so tac (line reversal)
broke them. Use jq -rs (raw slurp) to parse all objects at once and
extract the result. Added fallback grep for robustness.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@jth-nw jth-nw merged commit 4650153 into dev Mar 23, 2026
3 of 5 checks passed
@jth-nw jth-nw deleted the fix/content-fix-separate-pr-creation branch March 25, 2026 15:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant