aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar jhmaster2000 <32803471+jhmaster2000@users.noreply.github.com> 2023-09-06 23:55:25 -0300
committerGravatar jhmaster2000 <32803471+jhmaster2000@users.noreply.github.com> 2023-09-06 23:55:25 -0300
commit5fe13cdaac984575311e2a3192e739e5d7850b26 (patch)
treebd8e407e8bf5119d94cbe976317f74a955ea26da
parent7c82dc86baf3b01600b66d77737b2766ece83b03 (diff)
downloadbun-5fe13cdaac984575311e2a3192e739e5d7850b26.tar.gz
bun-5fe13cdaac984575311e2a3192e739e5d7850b26.tar.zst
bun-5fe13cdaac984575311e2a3192e739e5d7850b26.zip
fix bun discord command
-rw-r--r--src/cli/discord_command.zig4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/cli/discord_command.zig b/src/cli/discord_command.zig
index 9df5c4958..8dad7797c 100644
--- a/src/cli/discord_command.zig
+++ b/src/cli/discord_command.zig
@@ -14,6 +14,8 @@ const open = @import("../open.zig");
pub const DiscordCommand = struct {
const discord_url: string = "https://bun.sh/discord";
pub fn exec(_: std.mem.Allocator) !void {
- try open.openURL(discord_url);
+ open.openURL(discord_url) catch {
+ Output.println(discord_url, .{});
+ };
}
};