mirror of
https://github.com/ziglang/zig.git
synced 2026-10-14 10:27:43 -04:00
package management: fix regression of printing expected hash
Regressed in ed4ccea7ba. The early exit
path was only supposed to happen in case of --system mode.
This commit is contained in:
1 parent
661137ac92
commit
08e886b8fe
1 file changed
+1
-1
@@ -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),
|
||||
|
||||
Reference in new issue
Block a user