(path, source)
| 93 | } |
| 94 | |
| 95 | const writeSource = (path, source) => { |
| 96 | mkdirSync(dirname(path), { recursive: true }) |
| 97 | writeFileSync(path, source.endsWith("\n") ? source : `${source}\n`) |
| 98 | } |
| 99 | |
| 100 | const sanitize = (name) => name.replace(/[^a-zA-Z0-9._-]/g, "-") |
| 101 |
no test coverage detected