diff options
-rw-r--r-- | src/cli/shell_completions.zig | 2 | ||||
-rw-r--r-- | src/http/url_path.zig | 1 | ||||
-rw-r--r-- | src/main.zig | 2 | ||||
-rw-r--r-- | src/watcher.zig | 2 | ||||
-rw-r--r-- | src/which_npm_client.zig | 4 |
5 files changed, 3 insertions, 8 deletions
diff --git a/src/cli/shell_completions.zig b/src/cli/shell_completions.zig index 68938d480..08f78d19c 100644 --- a/src/cli/shell_completions.zig +++ b/src/cli/shell_completions.zig @@ -47,7 +47,7 @@ pub fn print(this: @This()) void { const delimiter = if (this.shell == Shell.fish) " " else "\n"; writer.writeAll(this.commands[0]) catch return; - + if (this.descriptions.len > 0) { writer.writeAll("\t") catch return; writer.writeAll(this.descriptions[0]) catch return; diff --git a/src/http/url_path.zig b/src/http/url_path.zig index 6945119c0..e36ea9d93 100644 --- a/src/http/url_path.zig +++ b/src/http/url_path.zig @@ -126,4 +126,3 @@ pub fn parse(possibly_encoded_pathname_: string) !URLPath { .needs_redirect = needs_redirect, }; } - diff --git a/src/main.zig b/src/main.zig index 985118812..6939edaf2 100644 --- a/src/main.zig +++ b/src/main.zig @@ -38,7 +38,7 @@ pub fn main() anyerror!void { Output.Source.set(&output_source); defer Output.flush(); - + cli.Cli.start(default_allocator, stdout, stderr, MainPanicHandler) catch |err| { switch (err) { error.CurrentWorkingDirectoryUnlinked => { diff --git a/src/watcher.zig b/src/watcher.zig index 1622be25a..f8de190bd 100644 --- a/src/watcher.zig +++ b/src/watcher.zig @@ -736,5 +736,3 @@ pub fn NewWatcher(comptime ContextType: type) type { } }; } - - diff --git a/src/which_npm_client.zig b/src/which_npm_client.zig index aa90622ca..777e717fa 100644 --- a/src/which_npm_client.zig +++ b/src/which_npm_client.zig @@ -10,7 +10,5 @@ pub const NPMClient = struct { bun, }; - pub fn detect(allocator: *std.mem.Allocator, realpath_buf: *[std.fs.MAX_PATH_BYTES]u8, PATH: string, cwd: string, comptime allow_yarn: bool) !NPMClient { - - } + pub fn detect(allocator: *std.mem.Allocator, realpath_buf: *[std.fs.MAX_PATH_BYTES]u8, PATH: string, cwd: string, comptime allow_yarn: bool) !NPMClient {} }; |