We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c19f4c4 commit e6596cbCopy full SHA for e6596cb
src/main.zig
@@ -7282,7 +7282,11 @@ fn cmdFetch(
7282
7283
warn("overwriting existing dependency named '{s}'", .{name});
7284
try fixups.replace_nodes_with_string.put(gpa, dep.location_node, location_replace);
7285
- try fixups.replace_nodes_with_string.put(gpa, dep.hash_node, hash_replace);
+ if (dep.hash_node != 0) {
7286
+ try fixups.replace_nodes_with_string.put(gpa, dep.hash_node, hash_replace);
7287
+ } else {
7288
+ // https://github.com/ziglang/zig/issues/21690
7289
+ }
7290
} else if (manifest.dependencies.count() > 0) {
7291
// Add fixup for adding another dependency.
7292
const deps = manifest.dependencies.values();
0 commit comments