mirror of
https://codeberg.org/ziglang/zig.git
synced 2026-04-27 19:09:47 +03:00
zig fetch: wait until all jobs are finished
This commit is contained in:
@@ -7224,6 +7224,8 @@ fn cmdFetch(
|
||||
error.FetchFailed => {}, // error bundle checked below
|
||||
};
|
||||
|
||||
try job_queue.group.await(io);
|
||||
|
||||
if (fetch.error_bundle.root_list.items.len > 0) {
|
||||
var errors = try fetch.error_bundle.toOwnedBundle("");
|
||||
errors.renderToStderr(io, .{}, color) catch {};
|
||||
|
||||
Reference in New Issue
Block a user