(rootDir: string)
| 1763 | cwd: rootDir, |
| 1764 | }); |
| 1765 | |
| 1766 | // Take the first result if multiple |
| 1767 | const commentId = existingComment?.split('\n')[0]?.trim(); |
| 1768 | |
| 1769 | if (commentId) { |
| 1770 | await runArgsAsync( |
| 1771 | ['gh', 'api', `repos/{owner}/{repo}/issues/comments/${commentId}`, '-X', 'PATCH', '-F', 'body=@-'], |
| 1772 | { cwd: rootDir, input: markedBody }, |
| 1773 | ); |
| 1774 | log.dim(' Updated PR comment'); |
no test coverage detected
searching dependent graphs…