mirror of
https://github.com/ziglang/zig.git
synced 2024-11-30 17:12:31 +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…
Reference in New Issue
Block a user