| ... | ... | @@ -461,6 +461,7 @@ fn runResource( |
| 461 | 461 | }; |
| 462 | 462 | defer tmp_directory.handle.close(); |
| 463 | 463 | |
| 464 | // Fetch and unpack a resource into a temporary directory. |
| 464 | 465 | var unpack_result = try unpackResource(f, resource, uri_path, tmp_directory); |
| 465 | 466 | defer unpack_result.deinit(); |
| 466 | 467 | |
| ... | ... | @@ -487,9 +488,8 @@ fn runResource( |
| 487 | 488 | .include_paths = if (f.manifest) |m| m.paths else .{}, |
| 488 | 489 | }; |
| 489 | 490 | |
| 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. |
| 493 | 493 | try unpack_result.filterErrors(filter); |
| 494 | 494 | if (unpack_result.hasErrors()) { |
| 495 | 495 | try unpack_result.bundleErrors(eb, try f.srcLoc(f.location_tok)); |