| ... | ... | @@ -32,7 +32,7 @@ pub const ModFile = struct { |
| 32 | 32 | |
| 33 | 33 | pub fn openFile(dir: std.fs.Dir, ops: std.fs.File.OpenFlags) !std.fs.File { |
| 34 | 34 | return dir.openFile("zig.mod", ops) catch |err| switch (err) { |
| 35 | | error.FileNotFound => dir.openFile("zigmod.yml", .{}) catch |err2| switch (err2) { |
| 35 | error.FileNotFound => dir.openFile("zigmod.yml", ops) catch |err2| switch (err2) { |
| 36 | 36 | error.FileNotFound => return error.ManifestNotFound, |
| 37 | 37 | else => |e2| return e2, |
| 38 | 38 | }, |