Commit 5e1f078
committed
dev-inf: Fix jq command to handle JSON array format
The execution file is a JSON array, not JSONL format. Updated all
extraction steps to use '.[]' to iterate over the array before
filtering by type.
Changed from: jq -r 'select(.type == "result") | .result'
Changed to: jq -r '.[] | select(.type == "result") | .result'
This fixes the error: "Cannot index array with string 'type'"
Epic: none
Release note: none1 parent 3c76919 commit 5e1f078
1 file changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
69 | | - | |
| 69 | + | |
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
| |||
116 | 116 | | |
117 | 117 | | |
118 | 118 | | |
119 | | - | |
| 119 | + | |
120 | 120 | | |
121 | 121 | | |
122 | 122 | | |
| |||
181 | 181 | | |
182 | 182 | | |
183 | 183 | | |
184 | | - | |
| 184 | + | |
185 | 185 | | |
186 | 186 | | |
187 | 187 | | |
| |||
0 commit comments