Skip to content

Commit

Permalink
allow no spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
dylan-conway authored and Jarred-Sumner committed Nov 7, 2023
1 parent 2f301e8 commit a725104
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/install/semver.zig
Original file line number Diff line number Diff line change
Expand Up @@ -1943,7 +1943,7 @@ pub const Query = struct {
token.tag = Token.Tag.none;

// skip tagged versions
while (i < input.len and input[i] != ' ') : (i += 1) {}
while (i < input.len and input[i] != ' ' and input[i] != '|' and input[i] != '&') : (i += 1) {}
skip_round = true;
},
}
Expand Down

0 comments on commit a725104

Please sign in to comment.