@@ -157,6 +157,7 @@ Use this plugin to automate the process of cloning a stack in few steps.
157157 async run ( ) : Promise < void > {
158158 try {
159159 const self = this ;
160+ configHandler . set ( 'log.progressSupportedModule' , 'clone' ) ;
160161 const { flags : cloneCommandFlags } = await self . parse ( StackCloneCommand ) ;
161162 const {
162163 yes,
@@ -227,7 +228,10 @@ Use this plugin to automate the process of cloning a stack in few steps.
227228 config . source_stack = listOfTokens [ sourceManagementTokenAlias ] . apiKey ;
228229 log . debug ( `Using source token alias: ${ sourceManagementTokenAlias } ` , cloneContext ) ;
229230 } else if ( sourceManagementTokenAlias ) {
230- log . warn ( `Provided source token alias (${ sourceManagementTokenAlias } ) not found in your config.!` , cloneContext ) ;
231+ log . warn (
232+ `Provided source token alias (${ sourceManagementTokenAlias } ) not found in your config.!` ,
233+ cloneContext ,
234+ ) ;
231235 }
232236 if ( destinationManagementTokenAlias && listOfTokens ?. [ destinationManagementTokenAlias ] ) {
233237 config . destination_alias = destinationManagementTokenAlias ;
@@ -284,7 +288,10 @@ Use this plugin to automate the process of cloning a stack in few steps.
284288 } catch ( error : any ) {
285289 if ( error ) {
286290 await this . cleanUp ( pathdir , null , this . createCloneContext ( 'unknown' ) ) ;
287- log . error ( 'Stack clone command failed' , { ...this . createCloneContext ( 'unknown' ) , error : error ?. message || error } ) ;
291+ log . error ( 'Stack clone command failed' , {
292+ ...this . createCloneContext ( 'unknown' ) ,
293+ error : error ?. message || error ,
294+ } ) ;
288295 }
289296 }
290297 }
0 commit comments