don't forget to flush!

This commit is contained in:
Emil Lerch 2025-08-22 12:52:57 -07:00
parent 5541742db3
commit 53ac60c875
Signed by: lobo
GPG key ID: A7B62D657EF764F8

View file

@ -133,6 +133,7 @@ fn processDirectories(models_dir: std.fs.Dir, output_dir: std.fs.Dir, parent_pro
const manifest_file = try output_dir.createFile("service_manifest.zig", .{}); const manifest_file = try output_dir.createFile("service_manifest.zig", .{});
defer manifest_file.close(); defer manifest_file.close();
var manifest = manifest_file.writer(&manifest_buf); var manifest = manifest_file.writer(&manifest_buf);
defer manifest.interface.flush() catch @panic("Error flushing service_manifest.zig");
var mi = models_dir.iterate(); var mi = models_dir.iterate();
const generating_models_progress = parent_progress.start("generating models", count); const generating_models_progress = parent_progress.start("generating models", count);