Fix final CWD usage in build script
continuous-integration/drone/push Build is passing Details

This commit is contained in:
kayomn 2024-07-25 21:29:28 +01:00
parent 165c3fe071
commit c68753bf84
1 changed files with 1 additions and 4 deletions

View File

@ -14,10 +14,7 @@ const Project = struct {
pub fn find_demos(self: Project, b: *std.Build) !void {
const demos = b.step("demos", "Build demos");
var dir = try std.fs.cwd().openDir(b.path("demos/").getPath(b), .{
.iterate = true,
});
var dir = try std.fs.openDirAbsolute(b.path("demos/").getPath(b), .{.iterate = true});
defer {
dir.close();