Skip to content

Commit

Permalink
Update packages/aws-cdk-lib/aws-stepfunctions-tasks/README.md
Browse files Browse the repository at this point in the history
Co-authored-by: Luca Pizzini <lpizzini7@gmail.com>
  • Loading branch information
badmintoncryer and lpizzinidev authored Mar 3, 2024
1 parent 99d9b05 commit 7aafd34
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions packages/aws-cdk-lib/aws-stepfunctions-tasks/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -408,11 +408,7 @@ const project = new codebuild.Project(this, 'Project', {
},
}),
});
const buildconfig = project.enableBatchBuilds();

if (buildconfig == null) {
throw new Error('Batch builds not enabled');
}
project.enableBatchBuilds();

const task = new tasks.CodeBuildStartBuildBatch(this, 'buildBatchTask', {
project,
Expand Down

0 comments on commit 7aafd34

Please sign in to comment.