| ... | @@ -402,7 +402,7 @@ pub fn run(f: *Fetch) RunError!void { | ... | @@ -402,7 +402,7 @@ pub fn run(f: *Fetch) RunError!void { |
| 402 | return error.FetchFailed; | 402 | return error.FetchFailed; |
| 403 | }, | 403 | }, |
| 404 | } | 404 | } |
| 405 | } else { | 405 | } else if (f.job_queue.read_only) { |
| 406 | try eb.addRootErrorMessage(.{ | 406 | try eb.addRootErrorMessage(.{ |
| 407 | .msg = try eb.addString("dependency is missing hash field"), | 407 | .msg = try eb.addString("dependency is missing hash field"), |
| 408 | .src_loc = try f.srcLoc(f.location_tok), | 408 | .src_loc = try f.srcLoc(f.location_tok), |