(branch, content)
| 1736 | } |
| 1737 | |
| 1738 | function writePatch(branch, content) { |
| 1739 | const p = canonicalPatchPath(branch); |
| 1740 | fs.writeFileSync(p, content); |
| 1741 | return p; |
| 1742 | } |
| 1743 | |
| 1744 | function extractCompareUrlFromIssueBody(issueBody) { |
| 1745 | const match = String(issueBody).match(/https:\/\/[^)\s]+\/compare\/[^)\s]+/); |
no test coverage detected