diff options
author | 2023-04-17 00:34:49 -0700 | |
---|---|---|
committer | 2023-04-17 00:34:49 -0700 | |
commit | c650b0b84871901e721efc0b466576241f431cdf (patch) | |
tree | 5b53c1aefb8ccf736b3253219ca1ad27ddef3526 | |
parent | 0514f59288c62b297b931bf3fc9876655d26df10 (diff) | |
download | bun-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.zig | 2 |
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 "."; |