(number: number, body: string)
| 14918 | } |
| 14919 | |
| 14920 | function writeCommentPayload(number: number, body: string): string { |
| 14921 | const commentFile = join(ROOT, ".artifacts", `comment-${number}.md`); |
| 14922 | ensureDir(dirname(commentFile)); |
| 14923 | writeFileSync(commentFile, body, "utf8"); |
| 14924 | const commentPayloadFile = join(ROOT, ".artifacts", `comment-${number}.json`); |
| 14925 | writeFileSync(commentPayloadFile, JSON.stringify({ body }), "utf8"); |
| 14926 | return commentPayloadFile; |
| 14927 | } |
| 14928 | |
| 14929 | function upsertReviewComment( |
| 14930 | number: number, |
no test coverage detected