mirror of
https://github.com/ziglang/zig.git
synced 2026-02-14 13:30:45 +00:00
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.
This commit is contained in:
parent
e8e9a4ac66
commit
417b92f085
@ -4438,7 +4438,7 @@ pub fn cmdBuild(gpa: Allocator, arena: Allocator, args: []const []const u8) !voi
|
||||
try wip_errors.init(gpa);
|
||||
defer wip_errors.deinit();
|
||||
|
||||
var progress: std.Progress = .{};
|
||||
var progress: std.Progress = .{ .dont_print_on_dumb = true };
|
||||
const root_prog_node = progress.start("Fetch Packages", 0);
|
||||
defer root_prog_node.end();
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user