aboutsummaryrefslogtreecommitdiff
path: root/src/bun_js.zig
diff options
context:
space:
mode:
Diffstat (limited to 'src/bun_js.zig')
-rw-r--r--src/bun_js.zig6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/bun_js.zig b/src/bun_js.zig
index 681aa08ef..e5fb2bcd7 100644
--- a/src/bun_js.zig
+++ b/src/bun_js.zig
@@ -48,7 +48,8 @@ pub const Run = struct {
} else {
run.vm.log.printForLogLevelWithEnableAnsiColors(Output.errorWriter(), false) catch {};
}
-
+ Output.prettyErrorln("\n", .{});
+ Output.flush();
std.os.exit(1);
};
run.vm.bundler.configureDefines() catch |err| {
@@ -57,7 +58,8 @@ pub const Run = struct {
} else {
run.vm.log.printForLogLevelWithEnableAnsiColors(Output.errorWriter(), false) catch {};
}
-
+ Output.prettyErrorln("\n", .{});
+ Output.flush();
std.os.exit(1);
};