fixed empty controlFlowStorageCustomNode append

This commit is contained in:
sanex3339
2016-11-29 22:15:53 +03:00
parent 954c00d232
commit 1d0a7a9c12
2 changed files with 566 additions and 546 deletions
+562 -546
View File
File diff suppressed because it is too large Load Diff
@@ -87,6 +87,10 @@ export class FunctionControlFlowTransformer extends AbstractNodeTransformer {
}
});
if (!controlFlowStorage.getLength()) {
return;
}
const controlFlowStorageCustomNode: ICustomNode = new ControlFlowStorageNode(
controlFlowStorage,
controlFlowStorageCustomNodeName,