From 7f3384600550c65d38f6855e0fc8d919a624b31e Mon Sep 17 00:00:00 2001 From: luke miles Date: Sun, 2 Jan 2022 03:09:51 -0800 Subject: 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" --- src/cli/create_command.zig | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/cli/create_command.zig') diff --git a/src/cli/create_command.zig b/src/cli/create_command.zig index a7d4a644c..aea498a5b 100644 --- a/src/cli/create_command.zig +++ b/src/cli/create_command.zig @@ -86,7 +86,7 @@ const UnsupportedPackages = struct { pub fn print(this: UnsupportedPackages) void { inline for (comptime std.meta.fieldNames(UnsupportedPackages)) |field_name| { if (@field(this, field_name)) { - Output.prettyErrorln("warn: \"{s}\" won't work in Bun yet\n", .{field_name}); + Output.prettyErrorln("warn: \"{s}\" won't work in bun yet\n", .{field_name}); } } } @@ -434,7 +434,7 @@ pub const CreateCommand = struct { node.end(); progress.refresh(); - Output.prettyError("\nerror: GitHub returned 403. This usually means GitHub is rate limiting your requests.\nTo fix this, either: A) pass a GITHUB_ACCESS_TOKEN environment variable to Bun\n B)Wait a little and try again\n", .{}); + Output.prettyError("\nerror: GitHub returned 403. This usually means GitHub is rate limiting your requests.\nTo fix this, either: A) pass a GITHUB_ACCESS_TOKEN environment variable to bun\n B)Wait a little and try again\n", .{}); Global.crash(); }, @@ -1548,7 +1548,7 @@ pub const CreateCommand = struct { Output.pretty( \\ - \\Come hang out in Bun's Discord: https://bun.sh/discord + \\Come hang out in bun's Discord: https://bun.sh/discord \\ , .{}); @@ -2118,7 +2118,7 @@ pub const CreateListExamplesCommand = struct { const examples = try Example.fetchAllLocalAndRemote(ctx, node, &env_loader, filesystem); Output.printStartEnd(time, std.time.nanoTimestamp()); Output.prettyln(" Fetched manifest", .{}); - Output.prettyln("Welcome to Bun! Create a new project by pasting any of the following:\n\n", .{}); + Output.prettyln("Welcome to bun! Create a new project by pasting any of the following:\n\n", .{}); Output.flush(); Example.print(examples.items, null); -- cgit v1.2.3