From 2428da935432293f6b3dc0ce19ca19f5c92c0f87 Mon Sep 17 00:00:00 2001 From: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com> Date: Wed, 20 Dec 2023 21:18:19 -0800 Subject: [PATCH] Fix formatting error --- src/cli/run_command.zig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/cli/run_command.zig b/src/cli/run_command.zig index c9b323f6e46f8..92205130b434a 100644 --- a/src/cli/run_command.zig +++ b/src/cli/run_command.zig @@ -335,8 +335,8 @@ pub const RunCommand = struct { switch (result) { .Exited => |code| { if (code > 0) { - if (code > 2 and !silent) { - Output.prettyErrorln("error: script \"{s}\" exited with code {d}", .{ name, bun.SignalCode.from(code) }); + if (code != 2 and !silent) { + Output.prettyErrorln("error: script \"{s}\" exited with code {d}", .{ name, code }); Output.flush(); }