We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2c88153 commit 99271f1Copy full SHA for 99271f1
src/main.zig
@@ -109,7 +109,7 @@ fn translate(d: *aro.Driver, args: []const []const u8) !void {
109
close_out_file = true;
110
out_file_path = path;
111
}
112
- std.io.getStdOut().writeAll(formatted) catch |err|
+ out_file.writeAll(formatted) catch |err|
113
return d.fatal("failed to write result to '{s}': {s}", .{ out_file_path, aro.Driver.errorDescription(err) });
114
115
if (fast_exit) process.exit(0);
0 commit comments