~mil/mepo

06fc4143c8068bcf968f0c91537b0792d1077197 — Miles Alan 2 months ago 13c4a15
Fix bug with wordexp_filepath always returning error
1 files changed, 1 insertions(+), 0 deletions(-)

M src/util/utilfile.zig
M src/util/utilfile.zig => src/util/utilfile.zig +1 -0
@@ 51,6 51,7 @@ pub fn wordexp_filepath(allocator: std.mem.Allocator, path: []const u8) ![:0]con
pub fn mkdirp_folder_basename(file_path: []const u8) !void {
    if (std.fs.path.dirname(file_path)) |dir_fp| {
        try std.fs.cwd().makePath(dir_fp);
        return;
    }
    return error.DirnameFail;
}