Skip to content

Commit 83f8441

Browse files
hkuptysqueek502
andcommitted
fix: Check if key exists instead of trying to match on null
Co-Authored-By: Ryan Liptak <squeek502@hotmail.com>
1 parent a0ec5d1 commit 83f8441

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/update_mingw.zig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ pub fn main() !void {
118118
switch (entry.kind) {
119119
.directory => {
120120
switch (walker.depth()) {
121-
1 => if (def_dirs.get(entry.basename)) {
121+
1 => if (def_dirs.has(entry.basename)) {
122122
try walker.enter(entry);
123123
continue;
124124
},

0 commit comments

Comments
 (0)