This commit is contained in:
2026-07-12 18:07:58 -05:00
parent 1ff5f429c4
commit 14699b5f26

View File

@@ -517,9 +517,10 @@ async function main(): Promise<void> {
await fsp.rm(tmpDir, { recursive: true, force: true }); await fsp.rm(tmpDir, { recursive: true, force: true });
} }
// Inkrementell sichern (Resume-fähig) // Inkrementell sichern (Resume-fähig) — merged gleich mit
await fsp.mkdir(args.outDir, { recursive: true }); await fsp.mkdir(args.outDir, { recursive: true });
await fsp.writeFile(visionPath, JSON.stringify([...done.values()], null, 2)); await fsp.writeFile(visionPath, JSON.stringify([...done.values()], null, 2));
await fsp.writeFile(mergedPath, JSON.stringify(all.map((r) => done.get(r.file_name) ?? r), null, 2));
} }
// Merge: Gleis A + Gleis B // Merge: Gleis A + Gleis B