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 de400fb commit 41b3183Copy full SHA for 41b3183
src/main.zig
@@ -7171,7 +7171,11 @@ fn cmdFetch(
7171
7172
warn("overwriting existing dependency named '{s}'", .{name});
7173
try fixups.replace_nodes_with_string.put(gpa, dep.location_node, location_replace);
7174
- try fixups.replace_nodes_with_string.put(gpa, dep.hash_node, hash_replace);
+ if (dep.hash_node != 0) {
7175
+ try fixups.replace_nodes_with_string.put(gpa, dep.hash_node, hash_replace);
7176
+ } else {
7177
+ // https://github.com/ziglang/zig/issues/21690
7178
+ }
7179
} else if (manifest.dependencies.count() > 0) {
7180
// Add fixup for adding another dependency.
7181
const deps = manifest.dependencies.values();
0 commit comments