(report: LooseRecord)
| 520 | } |
| 521 | |
| 522 | function writeReports(report: LooseRecord) { |
| 523 | const resultsDir = path.join(repoRoot(), "results"); |
| 524 | fs.mkdirSync(resultsDir, { recursive: true }); |
| 525 | fs.writeFileSync( |
| 526 | path.join(resultsDir, "conflict-self-heal.json"), |
| 527 | `${JSON.stringify(report, null, 2)}\n`, |
| 528 | ); |
| 529 | fs.writeFileSync(path.join(resultsDir, "conflict-self-heal.md"), renderMarkdown(report)); |
| 530 | } |
| 531 | |
| 532 | function renderMarkdown(report: LooseRecord) { |
| 533 | const rows = (report.prs ?? []) |
no test coverage detected