Skip to content

Commit

Permalink
fix stack overflow in sponge registration
Browse files Browse the repository at this point in the history
  • Loading branch information
jpenilla committed Nov 30, 2024
1 parent c64fcf6 commit d19fd34
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ private static void unwrap(
final ArgumentParser<?, ?> parser
) {
if (parser instanceof MappedArgumentParser<?, ?, ?> mapped) {
unwrap(parsers, mapped);
unwrap(parsers, mapped.baseParser());
return;
}
if (parser instanceof EitherParser<?, ?, ?> eitherParser) {
Expand Down

0 comments on commit d19fd34

Please sign in to comment.