update zig version

This commit is contained in:
Mitchell Hashimoto
2023-05-29 08:24:12 -07:00
parent 5acf7eb8fd
commit 7116ce0806
4 changed files with 8 additions and 7 deletions

View File

@@ -248,7 +248,7 @@ pub fn expandPath(alloc: Allocator, cmd: []const u8) !?[]u8 {
};
defer f.close();
const stat = try f.stat();
if (stat.kind != .Directory and stat.mode & 0o0111 != 0) {
if (stat.kind != .directory and stat.mode & 0o0111 != 0) {
return try alloc.dupe(u8, full_path);
}
}