aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com> 2023-04-17 00:34:49 -0700
committerGravatar Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com> 2023-04-17 00:34:49 -0700
commitc650b0b84871901e721efc0b466576241f431cdf (patch)
tree5b53c1aefb8ccf736b3253219ca1ad27ddef3526
parent0514f59288c62b297b931bf3fc9876655d26df10 (diff)
downloadbun-c650b0b84871901e721efc0b466576241f431cdf.tar.gz
bun-c650b0b84871901e721efc0b466576241f431cdf.tar.zst
bun-c650b0b84871901e721efc0b466576241f431cdf.zip
`bun build` should write to stdout instead of stderr
@paperdave this probably breaks all your tests
-rw-r--r--src/cli/build_command.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cli/build_command.zig b/src/cli/build_command.zig
index d527ee427..b16cb7bc9 100644
--- a/src/cli/build_command.zig
+++ b/src/cli/build_command.zig
@@ -145,7 +145,7 @@ pub const BuildCommand = struct {
{
dump: {
defer Output.flush();
- var writer = Output.errorWriter();
+ var writer = Output.writer();
var output_dir = this_bundler.options.output_dir;
if (ctx.bundler_options.outfile.len > 0 and output_files.len == 1 and output_files[0].value == .buffer) {
output_dir = std.fs.path.dirname(ctx.bundler_options.outfile) orelse ".";