mirror of
https://codeberg.org/ziglang/zig.git
synced 2025-12-06 13:54:21 +00:00
add a reference to #21690
This commit is contained in:
parent
c19f4c4402
commit
e6596cbbf0
1 changed files with 5 additions and 1 deletions
|
|
@ -7282,7 +7282,11 @@ fn cmdFetch(
|
|||
|
||||
warn("overwriting existing dependency named '{s}'", .{name});
|
||||
try fixups.replace_nodes_with_string.put(gpa, dep.location_node, location_replace);
|
||||
try fixups.replace_nodes_with_string.put(gpa, dep.hash_node, hash_replace);
|
||||
if (dep.hash_node != 0) {
|
||||
try fixups.replace_nodes_with_string.put(gpa, dep.hash_node, hash_replace);
|
||||
} else {
|
||||
// https://github.com/ziglang/zig/issues/21690
|
||||
}
|
||||
} else if (manifest.dependencies.count() > 0) {
|
||||
// Add fixup for adding another dependency.
|
||||
const deps = manifest.dependencies.values();
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue