authorgravatar for mlugg@mlugg.co.ukMatthew Lugg <mlugg@mlugg.co.uk> 2023-07-29 02:15:57+01:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2023-07-28 21:45:00-07:00
log417b92f0852eca8bd47f1964a63a9d1f6f3e6f6b
tree7613ce922fff78283ea9b34f2b275ecd94805593
parente8e9a4ac664ca803514ca5f177f3384ce66e31fc

package manager: don't show progress indicator on dumb terminals

This mirrors the behavior of the progress indicator for the actual compilation. Not doing this was causing sporadic CI failures due to the (non-existent) fetches taking long enough to appear in stderr.

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

src/main.zig+1-1
......@@ -4438,7 +4438,7 @@ pub fn cmdBuild(gpa: Allocator, arena: Allocator, args: []const []const u8) !voi
44384438 try wip_errors.init(gpa);
44394439 defer wip_errors.deinit();
44404440
4441 var progress: std.Progress = .{};
4441 var progress: std.Progress = .{ .dont_print_on_dumb = true };
44424442 const root_prog_node = progress.start("Fetch Packages", 0);
44434443 defer root_prog_node.end();
44444444