Skip to content

Commit

Permalink
Fix bug in filterSensitiveLog for Map of Map
Browse files Browse the repository at this point in the history
  • Loading branch information
trivikr committed May 1, 2020
1 parent 74b5da0 commit 31100ca
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ void writeFilterSensitiveLogForMap(TypeScriptWriter writer, MemberShape mapMembe
}
);
} else if (memberShape instanceof MapShape) {
writer.openBlock("acc[key] = Object.entries(value).reduce(", "), {}",
writer.openBlock("acc[key] = Object.entries(value).reduce(", ")",
() -> {
MemberShape nestedMapMember = ((MapShape) memberShape).getValue();
writeFilterSensitiveLogForMap(writer, nestedMapMember);
Expand Down

0 comments on commit 31100ca

Please sign in to comment.