(manifest: BatchManifest)
| 299 | } |
| 300 | |
| 301 | function writeManifest(manifest: BatchManifest): void { |
| 302 | summarizeManifest(manifest); |
| 303 | mkdirSync(dirname(manifest.manifestPath), { recursive: true }); |
| 304 | writeFileSync(manifest.manifestPath, JSON.stringify(manifest, null, 2) + "\n", "utf8"); |
| 305 | } |
| 306 | |
| 307 | function emitJsonEvent(event: Record<string, unknown>, json: boolean): void { |
| 308 | if (json) console.log(JSON.stringify(event)); |
no test coverage detected