aboutsummaryrefslogtreecommitdiff
path: root/src/cache.zig
diff options
context:
space:
mode:
Diffstat (limited to 'src/cache.zig')
-rw-r--r--src/cache.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cache.zig b/src/cache.zig
index b1b934f94..284ca254b 100644
--- a/src/cache.zig
+++ b/src/cache.zig
@@ -163,7 +163,7 @@ pub const Fs = struct {
}
};
} else {
- file_handle = try std.fs.openFileAbsolute(path, .{ .mode = .read_only });
+ file_handle = try std.fs.cwd().openFile(path, .{ .mode = .read_only });
}
}