authorgravatar for igor.anic@gmail.comIgor Anić <igor.anic@gmail.com> 2024-03-29 20:48:51+01:00
committergravatar for igor.anic@gmail.comIgor Anić <igor.anic@gmail.com> 2024-04-09 15:00:21+02:00
logad60b6c1edfc9ee30cf137fb1d56269e0af0941c
treee55f4dc9db6aa4c1b4ecf4d0ad9b83c2dc4dfb6e
parentdfec4918a3730df142bc7b58bfc0a6242cb3ca3b

fetch: update comments


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

src/Package/Fetch.zig+3-3
......@@ -461,6 +461,7 @@ fn runResource(
461461 };
462462 defer tmp_directory.handle.close();
463463
464 // Fetch and unpack a resource into a temporary directory.
464465 var unpack_result = try unpackResource(f, resource, uri_path, tmp_directory);
465466 defer unpack_result.deinit();
466467
......@@ -487,9 +488,8 @@ fn runResource(
487488 .include_paths = if (f.manifest) |m| m.paths else .{},
488489 };
489490
490 // If any error occurred for files that were ultimately excluded, those
491 // errors should be ignored, such as failure to create symlinks that
492 // weren't supposed to be included anyway.
491 // Ignore errors that were excluded by manifest, such as failure to
492 // create symlinks that weren't supposed to be included anyway.
493493 try unpack_result.filterErrors(filter);
494494 if (unpack_result.hasErrors()) {
495495 try unpack_result.bundleErrors(eb, try f.srcLoc(f.location_tok));