Repository navigation
Commit 7fb9c33
committed
ci: read the Context7 error field with jq
Same fix as review feedback on solid-objects-js#65. The too-early check matched
the exact string "error":"too-early", so valid JSON with other
spacing, such as {"error": "too-early"}, would fail the job instead
of skipping. Read the field with jq. On four sample bodies, grep
missed the spaced form and jq skipped it, and both still fail on
another error and on a body that is not JSON. Against the live API
the workflow script still exits 0 with the notice.1 parent 787e672 commit 7fb9c33
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
36 | | - | |
| 36 | + | |
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| |||
0 commit comments