authorgravatar for hello@nektro.netMeghan <hello@nektro.net> 2020-11-16 17:57:16 -08:00
committergravatar for hello@nektro.netMeghan <hello@nektro.net> 2020-11-16 17:57:16 -08:00
logb35ff753ae17c8de839287bfb98bd14c7c699b4b
tree98c09fd040bc750a7361b32af5c5c92a873549af
parent4f99940d97755b0da8226d56cd3b2995023f159c

fetch: still print array at top level


1 files changed, 1 insertions(+), 1 deletions(-)

src/cmd_fetch.zig+1-1
......@@ -72,7 +72,7 @@ fn run_cmd(dir: ?[]const u8, args: []const []const u8) !void {
7272}
7373
7474fn print_deps(w: std.fs.File.Writer, dir: []const u8, m: u.ModFile, tabs: i32) anyerror!void {
75 if (m.deps.len == 0) {
75 if (m.deps.len == 0 and tabs > 0) {
7676 try w.print("null", .{});
7777 return;
7878 }