| ... | @@ -602,7 +602,7 @@ pub fn run(f: *Fetch) RunError!void { | ... | @@ -602,7 +602,7 @@ pub fn run(f: *Fetch) RunError!void { |
| 602 | } else |err| switch (err) { | 602 | } else |err| switch (err) { |
| 603 | error.FileNotFound => { | 603 | error.FileNotFound => { |
| 604 | log.debug("FileNotFound: {f}", .{package_root}); | 604 | log.debug("FileNotFound: {f}", .{package_root}); |
| 605 | if (job_queue.read_only) return f.fail( | 605 | if (job_queue.read_only and f.lazy_status == .eager) return f.fail( |
| 606 | f.name_tok, | 606 | f.name_tok, |
| 607 | try eb.printString("package not found at '{f}'", .{package_root}), | 607 | try eb.printString("package not found at '{f}'", .{package_root}), |
| 608 | ); | 608 | ); |