Skip to content

Commit

Permalink
fix: attributeValue() ConcatStatement transform
Browse files Browse the repository at this point in the history
  • Loading branch information
Alon Bukai committed Aug 6, 2019
1 parent 8e47714 commit 1fdbaf9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/helpers/expression-for-attribute-value.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@ module.exports = function expressionForAttributeValue(b, value) {
return b.sexpr(value.path, value.params, value.hash, value.loc);
}
} else if (value.type === 'ConcatStatement') {
return b.sexpr('concat', value.parts.map(expressionForAttributeValue));
return b.sexpr('concat', value.parts.map(p => expressionForAttributeValue(b, p)));
}
};

0 comments on commit 1fdbaf9

Please sign in to comment.