Skip to content

Commit e7c061d

Browse files
authored
chore(codegen): update codegen for lib-dynamodb to reflect #3539 (#3555)
1 parent 3f1190c commit e7c061d

File tree

1 file changed

+1
-1
lines changed
  • codegen/smithy-aws-typescript-codegen/src/main/resources/software/amazon/smithy/aws/typescript/codegen

1 file changed

+1
-1
lines changed

codegen/smithy-aws-typescript-codegen/src/main/resources/software/amazon/smithy/aws/typescript/codegen/doc-client-utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ export type AllNodes = {
1010
};
1111

1212
const processObj = (obj: any, processFunc: Function, children?: KeyNode[] | AllNodes): any => {
13-
if (obj) {
13+
if (obj !== undefined) {
1414
if (!children || (Array.isArray(children) && children.length === 0)) {
1515
// Leaf of KeyNode, process the object.
1616
return processFunc(obj);

0 commit comments

Comments
 (0)