zig

fork of https://codeberg.org/ziglang/zig
Log | Files | Refs | README | LICENSE

commit 4636a761cbdae7477dcff73ba1d752069adbc9bd (tree)
parent bc9fabcc3fb6c44ca0de8d21a0e7b0a46b404b78
Author: Andrew Kelley <andrew@ziglang.org>
Date:   Mon, 20 Apr 2026 19:59:17 -0700

fetch: fix "unable to open" error message

Diffstat:
Msrc/Package/Fetch.zig | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/Package/Fetch.zig b/src/Package/Fetch.zig @@ -1187,7 +1187,7 @@ fn initResource(f: *Fetch, uri: std.Uri, resource: *Resource, reader_buffer: []u if (ascii.eqlIgnoreCase(uri.scheme, "file")) { const path = try uri.path.toRawMaybeAlloc(arena); const file = f.parent_package_root.openFile(io, path, .{}) catch |err| { - return f.fail(f.location_tok, try eb.printString("unable to open '{f}{s}': {t}", .{ + return f.fail(f.location_tok, try eb.printString("unable to open {f}/{s}: {t}", .{ f.parent_package_root, path, err, })); };