Skip to content

Commit

Permalink
Fix formatting error
Browse files Browse the repository at this point in the history
  • Loading branch information
Jarred-Sumner committed Dec 21, 2023
1 parent 65e11c4 commit 2428da9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/cli/run_command.zig
Original file line number Diff line number Diff line change
Expand Up @@ -335,8 +335,8 @@ pub const RunCommand = struct {
switch (result) {
.Exited => |code| {
if (code > 0) {
if (code > 2 and !silent) {
Output.prettyErrorln("<r><red>error<r><d>:<r> script <b>\"{s}\"<r> exited with code {d}<r>", .{ name, bun.SignalCode.from(code) });
if (code != 2 and !silent) {
Output.prettyErrorln("<r><red>error<r><d>:<r> script <b>\"{s}\"<r> exited with code {d}<r>", .{ name, code });
Output.flush();
}

Expand Down

0 comments on commit 2428da9

Please sign in to comment.