Skip to content

Commit

Permalink
yooops
Browse files Browse the repository at this point in the history
  • Loading branch information
zackradisic committed Feb 8, 2025
1 parent a535ac0 commit 6b2d26c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cli/filter_arg.zig
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ pub const FilterSet = struct {
while (codepointer_iter.next(&cursor)) {
if (bun.Environment.isWindows and cursor.c == @as(u32, '\\')) dont_forward_slash: {
const prev = cursor;
const is_separator = if (codepointer_iter.next(&cursor)) |next| switch (next) {
const is_separator = if (codepointer_iter.next(&cursor)) switch (cursor.c) {
'[', '{', '!', '*', '?' => false,
else => true,
} else true;
Expand Down

0 comments on commit 6b2d26c

Please sign in to comment.