Skip to content

Commit

Permalink
Respect --no-execute flag
Browse files Browse the repository at this point in the history
  • Loading branch information
rix0rrr committed Sep 22, 2022
1 parent 05ddd79 commit 83b2339
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/aws-cdk/lib/cli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -488,6 +488,9 @@ async function initCommandLine() {
case 'prepare-change-set':
deploymentMethod = { method: 'change-set', execute: false, changeSetName: args.changeSetName };
break;
case undefined:
deploymentMethod = { method: 'change-set', execute: args.execute ?? true, changeSetName: args.changeSetName };
break;
}

return cli.deploy({
Expand Down

0 comments on commit 83b2339

Please sign in to comment.