| ... | @@ -551,9 +551,6 @@ pub fn run(f: *Fetch) RunError!void { | ... | @@ -551,9 +551,6 @@ pub fn run(f: *Fetch) RunError!void { |
| 551 | // will already have been resolved to no longer have extra ".." or | 551 | // will already have been resolved to no longer have extra ".." or |
| 552 | // "." components. | 552 | // "." components. |
| 553 | assert(job_queue.local_storage != null); | 553 | assert(job_queue.local_storage != null); |
| 554 | log.debug("checking pkg root \"{s}\" against parent package root \"{s}\"", .{ | | |
| 555 | pkg_root.sub_path, f.remote_package_root.sub_path, | | |
| 556 | }); | | |
| 557 | assert(pkg_root.root_dir.eql(f.remote_package_root.root_dir)); | 554 | assert(pkg_root.root_dir.eql(f.remote_package_root.root_dir)); |
| 558 | if (!std.mem.startsWith(u8, pkg_root.sub_path, f.remote_package_root.sub_path)) return f.fail( | 555 | if (!std.mem.startsWith(u8, pkg_root.sub_path, f.remote_package_root.sub_path)) return f.fail( |
| 559 | f.location_tok, | 556 | f.location_tok, |