From 98b828a0232e411eb1e39b83de22fa3869faa51a Mon Sep 17 00:00:00 2001 From: Steven <4944823+steven-tk@users.noreply.github.com> Date: Thu, 13 Aug 2026 12:50:32 +0200 Subject: [PATCH] config: flush autogenerated config template #13774 Flush the buffered writer after writing the template so newly created configuration files contain the expected guidance instead of being empty. --- src/config/Config.zig | 1 + 1 file changed, 1 insertion(+) diff --git a/src/config/Config.zig b/src/config/Config.zig index 00b305486..814532b5d 100644 --- a/src/config/Config.zig +++ b/src/config/Config.zig @@ -4121,6 +4121,7 @@ fn writeConfigTemplate(path: []const u8) !void { @embedFile("./config-template"), .{ .path = path }, ); + try writer.flush(); } /// Load configurations from the default configuration files. The default