diff --git a/src/util/module.zig b/src/util/module.zig index 991da9b818ddb4625158dcd7c31edd19c86cdb13..2917bc8dba23013a6f5050b7f7036b4fd497af37 100644 --- a/src/util/module.zig +++ b/src/util/module.zig @@ -62,7 +62,7 @@ pub const Module = struct { const h = &std.crypto.hash.Blake3.init(.{}); for (file_list_2.items) |item| { const abs_path = try u.concat(&[_][]const u8{cdpath, "/", self.clean_path, "/", item}); - const file = try std.fs.openFileAbsolute(abs_path, .{}); + const file = try std.fs.cwd().openFile(abs_path, .{}); defer file.close(); const input = try file.reader().readAllAlloc(gpa, u.mb); h.update(input);