mirror of
https://github.com/ziglang/zig.git
synced 2026-02-12 20:37:54 +00:00
package management: fix regression of printing expected hash
Regressed in ed4ccea7bae99c1baa634716941f308d9f922985. The early exit path was only supposed to happen in case of --system mode.
This commit is contained in:
parent
661137ac92
commit
08e886b8fe
@ -402,7 +402,7 @@ pub fn run(f: *Fetch) RunError!void {
|
||||
return error.FetchFailed;
|
||||
},
|
||||
}
|
||||
} else {
|
||||
} else if (f.job_queue.read_only) {
|
||||
try eb.addRootErrorMessage(.{
|
||||
.msg = try eb.addString("dependency is missing hash field"),
|
||||
.src_loc = try f.srcLoc(f.location_tok),
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user