Fix final CWD usage in build script
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
165c3fe071
commit
c68753bf84
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue