Fix forgotten openIterableDir

This commit is contained in:
Krzysztof Wolicki
2023-11-30 22:04:34 +01:00
parent 9238bdb4da
commit 073868888c

View File

@ -43,7 +43,7 @@ pub fn run(alloc: Allocator) !u8 {
const path = try std.fs.path.join(alloc, &.{ resources_dir, "themes" });
defer alloc.free(path);
var dir = try std.fs.cwd().openIterableDir(path, .{});
var dir = try std.fs.cwd().openDir(path, .{ .iterate = true });
defer dir.close();
var walker = try dir.walk(alloc);