Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion zig/runfiles/src/Directory.zig
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ pub fn init_pre_016(allocator: std.mem.Allocator, path: []const u8) InitError!Di
}

pub fn init_016(allocator: std.mem.Allocator, io: std.Io, path: []const u8) InitError!Directory {
const absolute = try std.Io.Dir.realPathFileAbsoluteAlloc(io, path, allocator);
const absolute = try std.Io.Dir.cwd().realPathFileAlloc(io, path, allocator);
errdefer allocator.free(absolute);
// TODO[AH] Implement OS specific normalization, e.g. Windows lower-case.
return .{ .path = absolute };
Expand Down