Skip to content

Commit

Permalink
fix: zappify error due to null entries being created in statements list
Browse files Browse the repository at this point in the history
  • Loading branch information
lydiagarms committed May 20, 2024
1 parent 2485ccd commit 6e94ae2
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -299,6 +299,7 @@ const internalCallVisitor = {
});
}
});
childNode.body.statements = childNode.body.statements.filter(item => item !== null);
} else{
state.newStatementList.forEach((statenode, stateid) => {
childNode.body.statements.forEach((node, id)=> {
Expand Down

0 comments on commit 6e94ae2

Please sign in to comment.