mirror of
https://github.com/ziglang/zig.git
synced 2026-02-15 22:09:49 +00:00
zig fmt: fix not writing results
This commit is contained in:
parent
4438c5e09b
commit
c3ddf5069e
@ -710,6 +710,7 @@ fn cmdFmt(allocator: &Allocator, args: []const []const u8) !void {
|
||||
defer baf.destroy();
|
||||
|
||||
try std.zig.render(allocator, baf.stream(), &tree);
|
||||
try baf.finish();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user