Don't use iterate when opening manifest directory

This commit is contained in:
LeRoyce Pearson 2020-04-30 17:11:45 -06:00 committed by Andrew Kelley
parent 1ffff1bb18
commit 2c59f95e87

View file

@ -44,7 +44,7 @@ pub const CacheHash = struct {
pub fn init(alloc: *Allocator, manifest_dir_path: []const u8) !@This() {
try fs.cwd().makePath(manifest_dir_path);
const manifest_dir = try fs.cwd().openDir(manifest_dir_path, .{ .iterate = true });
const manifest_dir = try fs.cwd().openDir(manifest_dir_path, .{});
return CacheHash{
.alloc = alloc,