()
| 29 | const ok = new Set(['---', ':---', '---:', ':---:']); |
| 30 | |
| 31 | function tracked() { |
| 32 | const r = spawnSync('git', ['ls-files', '*.md'], { cwd: ROOT, encoding: 'utf8' }); |
| 33 | if (r.status !== 0) { |
| 34 | console.error(r.stderr?.trim() || 'git ls-files failed'); |
| 35 | process.exit(1); |
| 36 | } |
| 37 | return r.stdout.split('\n').filter(Boolean); |
| 38 | } |
| 39 | |
| 40 | function skip(file: string) { |
| 41 | const norm = file.replaceAll('\\', '/').toLowerCase(); |
no test coverage detected