(value)
| 117 | } |
| 118 | |
| 119 | function parseChecklist(value) { |
| 120 | const checked = new Set(); |
| 121 | const normalized = normalizeMultilineText(value); |
| 122 | |
| 123 | for (const match of normalized.matchAll(/^- \[(x|X)\] (.+)$/gm)) { |
| 124 | checked.add(match[2].trim()); |
| 125 | } |
| 126 | |
| 127 | return checked; |
| 128 | } |
| 129 | |
| 130 | function readLocalPluginNames() { |
| 131 | if (!fs.existsSync(PLUGINS_DIR)) { |
no test coverage detected