( targetHome: string, report: MigrationReport, )
| 9 | * mode 0700 if it does not yet exist. |
| 10 | */ |
| 11 | export async function writeReport( |
| 12 | targetHome: string, |
| 13 | report: MigrationReport, |
| 14 | ): Promise<void> { |
| 15 | await mkdir(targetHome, { recursive: true, mode: 0o700 }); |
| 16 | await atomicWrite(migrationReportFile(targetHome), JSON.stringify(report, null, 2)); |
| 17 | } |
no test coverage detected