| ... | ... | @@ -7282,7 +7282,11 @@ fn cmdFetch( |
| 7282 | 7282 | |
| 7283 | 7283 | warn("overwriting existing dependency named '{s}'", .{name}); |
| 7284 | 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); |
| 7285 | 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 | } |
| 7286 | 7290 | } else if (manifest.dependencies.count() > 0) { |
| 7287 | 7291 | // Add fixup for adding another dependency. |
| 7288 | 7292 | const deps = manifest.dependencies.values(); |