(root: string, rel: string, body: string)
| 86 | } |
| 87 | |
| 88 | function write(root: string, rel: string, body: string): void { |
| 89 | const full = path.join(root, rel); |
| 90 | fs.mkdirSync(path.dirname(full), { recursive: true }); |
| 91 | fs.writeFileSync(full, body); |
| 92 | } |
| 93 | |
| 94 | async function stop(instance: Instance | undefined): Promise<void> { |
| 95 | if (!instance) return; |
no test coverage detected