()
| 181 | ops.push({ type: "createReview", params }); |
| 182 | const callIdx = createReviewCalls.length - 1; |
| 183 | const successRes = () => ({ data: {}, headers: { "x-ratelimit-remaining": successRemaining() } }); |
| 184 | // Discriminate batch vs per-comment by body, NOT callIdx. Under |
| 185 | // multi-batch (N < toSend.length) several batch calls precede the |
| 186 | // per-comment fallbacks, so callIdx === 0 is unsound. Batch calls |
no test coverage detected