Skip to content

Commit

Permalink
chore: formatting fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Shubham Chaturvedi committed Oct 10, 2024
1 parent 829a42a commit 1f19a19
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -530,8 +530,8 @@ private void renderMapShape(final MapShape currentShape, final MemberShape memb
validationFuncMap.put(memberShape, mapValidation.toString());
}
}

private void renderUnionShape(final UnionShape currentShape, final MemberShape memberShape, final StringBuilder validationCode, String dataSource) {
{
final var funcName = funcNameGenerator(memberShape, "validate");
final var funcInput = dataSource.startsWith("input") ? "" : dataSource;
if (!funcInput.isEmpty()) {
Expand Down Expand Up @@ -580,5 +580,4 @@ private void renderUnionShape(final UnionShape currentShape, final MemberShape
validationFuncMap.put(memberShape, unionValidation.toString());
}
}
}
}

0 comments on commit 1f19a19

Please sign in to comment.