zig fetch: wait until all jobs are finished

This commit is contained in:
rpkak
2026-03-02 10:17:55 +01:00
parent e58fea8227
commit 442b292a37
+2
View File
@@ -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 {};