zig fetch: update saved dependency with resolved URL

Closes #21645
This commit is contained in:
Ian Johnson
2024-10-09 21:12:33 -04:00
committed by Andrew Kelley
parent 2e2927735d
commit 072e062443

View File

@@ -7220,7 +7220,7 @@ fn cmdFetch(
const location_replace = try std.fmt.allocPrint(
arena,
"\"{}\"",
.{std.zig.fmtEscapes(path_or_url)},
.{std.zig.fmtEscapes(saved_path_or_url)},
);
const hash_replace = try std.fmt.allocPrint(
arena,