Fix componentkit generator #785

Closed
alickbass wants to merge 3 commits from fix-componentkit-generator into master
Showing only changes of commit 34e8d71528 - Show all commits

View File

@@ -139,7 +139,7 @@ function getLayoutCode(
); );
lines.push(indent + `}]${isRoot ? ';' : ','}`); lines.push(indent + `}]${isRoot ? ';' : ','}`);
} else { } else {
lines[lines.length - 1] += ']'; lines[lines.length - 1] += '],';
CKFlexboxComponentChild.forEach(key => { CKFlexboxComponentChild.forEach(key => {
let line = renderKey(node, key, indent); let line = renderKey(node, key, indent);
if (line) { if (line) {