File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -1365,7 +1365,7 @@ export class CdkToolkit {
13651365 const assembly = await this . assembly ( ) ;
13661366 const stacks = await assembly . selectStacks ( selector , {
13671367 extend : exclusively ? ExtendedStackSelection . None : ExtendedStackSelection . Downstream ,
1368- defaultBehavior : DefaultSelection . OnlySingle , // TODO: should we add a condition to select all stacks in the assembly if no patterns are provided?
1368+ defaultBehavior : DefaultSelection . OnlySingle ,
13691369 } ) ;
13701370
13711371 // No validation
Original file line number Diff line number Diff line change @@ -103,7 +103,8 @@ export class CloudAssembly extends BaseStackAssembly {
103103 throw new ToolkitError ( 'This app contains no stacks' ) ;
104104 }
105105
106- if ( allTopLevel && options . defaultBehavior === DefaultSelection . AllStacks ) {
106+ const someCondition = false // TODO: replace
107+ if ( allTopLevel && someCondition ) {
107108 return new StackCollection ( this , stacks ) ;
108109 } else if ( allTopLevel ) {
109110 return this . selectTopLevelStacks ( stacks , topLevelStacks , options . extend ) ;
You can’t perform that action at this time.
0 commit comments