You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(cli): "fancy" progress reporting not disabled on all CI systems (#9516)
Fixes: #8696#8893
Detects whether the `CI` environment variable is set and reverts output to `standard` behavior.
The fancy output was especially broken on CircleCI.
----
*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
Copy file name to clipboardexpand all lines: packages/aws-cdk/bin/cdk.ts
+2-1
Original file line number
Diff line number
Diff line change
@@ -82,7 +82,7 @@ async function parseCommandLineArguments() {
82
82
.option('build-exclude',{type: 'array',alias: 'E',nargs: 1,desc: 'Do not rebuild asset with the given ID. Can be specified multiple times.',default: []})
83
83
.option('exclusively',{type: 'boolean',alias: 'e',desc: 'Only deploy requested stacks, don\'t include dependencies'})
84
84
.option('require-approval',{type: 'string',choices: [RequireApproval.Never,RequireApproval.AnyChange,RequireApproval.Broadening],desc: 'What security-sensitive changes need manual approval'})
85
-
.option('ci',{type: 'boolean',desc: 'Force CI detection (deprecated)',default: process.env.CI!==undefined})
85
+
.option('ci',{type: 'boolean',desc: 'Force CI detection',default: process.env.CI!==undefined})
86
86
.option('notification-arns',{type: 'array',desc: 'ARNs of SNS topics that CloudFormation will notify with stack related events',nargs: 1,requiresArg: true})
87
87
.option('tags',{type: 'array',alias: 't',desc: 'Tags to add to the stack (KEY=VALUE)',nargs: 1,requiresArg: true})
88
88
.option('execute',{type: 'boolean',desc: 'Whether to execute ChangeSet (--no-execute will NOT execute the ChangeSet)',default: true})
@@ -279,6 +279,7 @@ async function initCommandLine() {
0 commit comments