mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-10-06 18:06:33 +00:00
Fix forgotten openIterableDir
This commit is contained in:
@@ -43,7 +43,7 @@ pub fn run(alloc: Allocator) !u8 {
|
|||||||
const path = try std.fs.path.join(alloc, &.{ resources_dir, "themes" });
|
const path = try std.fs.path.join(alloc, &.{ resources_dir, "themes" });
|
||||||
defer alloc.free(path);
|
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();
|
defer dir.close();
|
||||||
|
|
||||||
var walker = try dir.walk(alloc);
|
var walker = try dir.walk(alloc);
|
||||||
|
Reference in New Issue
Block a user