(sectionName, isToc = false)
| 147 | } |
| 148 | } |
| 149 | function getFence(sectionName, isToc = false) { |
| 150 | let name = isToc ? sectionName + "-toc" : sectionName; |
| 151 | let START_COMMENT = "<!--START-SECTION:" + name + "-->"; |
| 152 | let END_COMMENT = "<!--END-SECTION:" + name + "-->"; |
| 153 | return { start: START_COMMENT, end: END_COMMENT }; |
| 154 | } |
| 155 | |
| 156 | async function main(argv) { |
| 157 | let currentReadme = await fs.readFile(readmePath, { encoding: "utf-8" }); |
no outgoing calls
no test coverage detected