Skip to content

Commit

Permalink
chore: bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
SwatiEY committed Apr 4, 2024
1 parent 1835592 commit a64959a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/transformers/visitors/toOrchestrationVisitor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -245,9 +245,11 @@ const visitor = {
if (file.nodeType === 'SetupCommonFilesBoilerplate') {
file.constructorParams = state.constructorParams;
file.contractImports = state.contractImports;
if(state.isjoinSplitCommitmentsFunction?.includes('true'))
if(state.isjoinSplitCommitmentsFunction?.includes('true')){
file.functionNames.push('joinCommitments');
file.functionNames.push('splitCommitments');
}

}
if (file.nodes?.[0].nodeType === 'IntegrationTestBoilerplate') {
file.nodes[0].constructorParams = state.constructorParams;
Expand Down

0 comments on commit a64959a

Please sign in to comment.