zig fmt: fix not writing results

This commit is contained in:
Andrew Kelley 2018-05-09 23:48:50 -04:00
parent 4438c5e09b
commit c3ddf5069e

View File

@ -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();
}
}