Skip to content

Commit d19fd34

Browse files
committed
fix stack overflow in sponge registration
1 parent c64fcf6 commit d19fd34

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cloud-sponge/src/main/java/org/incendo/cloud/sponge/SpongeRegistrationHandler.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ private static void unwrap(
133133
final ArgumentParser<?, ?> parser
134134
) {
135135
if (parser instanceof MappedArgumentParser<?, ?, ?> mapped) {
136-
unwrap(parsers, mapped);
136+
unwrap(parsers, mapped.baseParser());
137137
return;
138138
}
139139
if (parser instanceof EitherParser<?, ?, ?> eitherParser) {

0 commit comments

Comments
 (0)