Skip to content

Commit

Permalink
chore(codegen): update codegen for lib-dynamodb to reflect #3539
Browse files Browse the repository at this point in the history
  • Loading branch information
awstools committed Apr 22, 2022
1 parent 32ffcf3 commit 2fbe7b2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export type AllNodes = {
};

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

0 comments on commit 2fbe7b2

Please sign in to comment.