(content: MergeReport, filename: string)
| 99 | } |
| 100 | |
| 101 | export async function writeBlob(content: MergeReport, filename: string): Promise<void> { |
| 102 | const report = stringify(content) |
| 103 | |
| 104 | const dir = dirname(filename) |
| 105 | if (!existsSync(dir)) { |
| 106 | await mkdir(dir, { recursive: true }) |
| 107 | } |
| 108 | |
| 109 | await writeFile(filename, report, 'utf-8') |
| 110 | } |
| 111 | |
| 112 | export async function readBlobs( |
| 113 | currentVersion: string, |
no test coverage detected