create path if it does not exist
Some checks failed
AWS-Zig Build / build-zig-0.11.0-amd64-host (push) Failing after 2m34s
Some checks failed
AWS-Zig Build / build-zig-0.11.0-amd64-host (push) Failing after 2m34s
This commit is contained in:
parent
c3da8c067f
commit
bad00517a3
|
@ -28,7 +28,7 @@ pub fn main() anyerror!void {
|
|||
std.process.exit(0);
|
||||
}
|
||||
if (std.mem.eql(u8, "--output", arg))
|
||||
output_dir = try output_dir.openDir(args[i + 1], .{});
|
||||
output_dir = try output_dir.makeOpenPath(args[i + 1], .{});
|
||||
if (std.mem.eql(u8, "--models", arg))
|
||||
models_dir = try std.fs.cwd().openIterableDir(args[i + 1], .{});
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user