From 7aafd342b47268a09c5d3b91bc2959071ddc8a1a Mon Sep 17 00:00:00 2001 From: kazuho cryer-shinozuka Date: Sun, 3 Mar 2024 11:43:15 +0900 Subject: [PATCH] Update packages/aws-cdk-lib/aws-stepfunctions-tasks/README.md Co-authored-by: Luca Pizzini --- packages/aws-cdk-lib/aws-stepfunctions-tasks/README.md | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/packages/aws-cdk-lib/aws-stepfunctions-tasks/README.md b/packages/aws-cdk-lib/aws-stepfunctions-tasks/README.md index 1dd8bb7efa508..3b96aa8237b05 100644 --- a/packages/aws-cdk-lib/aws-stepfunctions-tasks/README.md +++ b/packages/aws-cdk-lib/aws-stepfunctions-tasks/README.md @@ -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,