aboutsummaryrefslogtreecommitdiff
path: root/src/panic_handler.zig
diff options
context:
space:
mode:
authorGravatar luke miles <luke@lukemil.es> 2022-01-02 03:09:51 -0800
committerGravatar GitHub <noreply@github.com> 2022-01-02 03:09:51 -0800
commit7f3384600550c65d38f6855e0fc8d919a624b31e (patch)
treef00549eb7469b3856f3ac6a296df808c8915f0fd /src/panic_handler.zig
parent4afda10b82af917fb93284e24ea41d103310f245 (diff)
downloadbun-7f3384600550c65d38f6855e0fc8d919a624b31e.tar.gz
bun-7f3384600550c65d38f6855e0fc8d919a624b31e.tar.zst
bun-7f3384600550c65d38f6855e0fc8d919a624b31e.zip
copy: replace Bun with bun (#99)
Most CLI tools have the style convention of referring to themselves in lowercase. It is, after all, the name that users type in when using the tool. This PR maintains that convention in bun. "Drop the uppercase B, it's cleaner"
Diffstat (limited to 'src/panic_handler.zig')
-rw-r--r--src/panic_handler.zig6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/panic_handler.zig b/src/panic_handler.zig
index aa3d8de64..8f3038fa1 100644
--- a/src/panic_handler.zig
+++ b/src/panic_handler.zig
@@ -32,17 +32,17 @@ pub fn NewPanicHandler(comptime panic_func: fn handle_panic(msg: []const u8, err
if (msg.len > 0) {
if (Output.isEmojiEnabled()) {
- Output.prettyErrorln("<r><red>Bun crashed 😭😭😭<r><d>: <r><b>{s}<r>\n", .{msg});
+ Output.prettyErrorln("<r><red>bun crashed 😭😭😭<r><d>: <r><b>{s}<r>\n", .{msg});
} else {
Output.prettyErrorln("<r><red>Crash<r><d>:<r> <b>{s}<r>", .{msg});
}
Output.flush();
} else {
if (Output.isEmojiEnabled()) {
- Output.prettyErrorln("<r><red>Bun will crash now<r> 😭😭😭<r>\n", .{});
+ Output.prettyErrorln("<r><red>bun will crash now<r> 😭😭😭<r>\n", .{});
Output.flush();
} else {
- Output.printError("Bun has crashed :'(\n", .{});
+ Output.printError("bun has crashed :'(\n", .{});
}
Output.flush();
}