File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
packages/@aws-cdk/toolkit-lib/lib/api/cloud-assembly Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ export class StackAssembly extends CloudAssembly implements ICloudAssemblySource
2727 throw new ToolkitError ( 'This app contains no stacks' ) ;
2828 }
2929
30- const extend = convertExtend ( selector . extend ) ;
30+ const extend = expandToExtendEnum ( selector . expand ) ;
3131 const patterns = sanitizePatterns ( selector . patterns ?? [ ] ) ;
3232
3333 switch ( selector . strategy ) {
@@ -94,7 +94,7 @@ export class StackAssembly extends CloudAssembly implements ICloudAssemblySource
9494 }
9595}
9696
97- function convertExtend ( extend ?: ExpandStackSelection ) : CliExtendedStackSelection | undefined {
97+ function expandToExtendEnum ( extend ?: ExpandStackSelection ) : CliExtendedStackSelection | undefined {
9898 switch ( extend ) {
9999 case ExpandStackSelection . DOWNSTREAM :
100100 return CliExtendedStackSelection . Downstream ;
Original file line number Diff line number Diff line change @@ -82,10 +82,10 @@ export interface StackSelector {
8282 patterns ?: string [ ] ;
8383
8484 /**
85- * Extend the selection to upstream/downstream stacks.
86- * @default ExtendedStackSelection .None only select the specified/matched stacks
85+ * Expand the selection to upstream/downstream stacks.
86+ * @default ExpandStackSelection .None only select the specified/matched stacks
8787 */
88- extend ?: ExpandStackSelection ;
88+ expand ?: ExpandStackSelection ;
8989
9090 /**
9191 * By default, we throw an exception if the assembly contains no stacks.
You can’t perform that action at this time.
0 commit comments