@@ -87,26 +87,26 @@ export default class ExportStack extends BaseClass {
8787
8888 async exportStackSettings ( ) : Promise < any > {
8989 log ( this . exportConfig , 'Exporting stack settings' , 'success' ) ;
90-
90+
9191 try {
9292 const stackData = await this . stack . settings ( ) ;
9393
9494 // Export to root directory
9595 const rootStackPath = pResolve ( this . exportConfig . data , this . stackConfig . dirName ) ;
9696 await fsUtil . makeDirectory ( rootStackPath ) ;
97- await fsUtil . writeFile ( pResolve ( rootStackPath , " settings.json" ) , stackData ) ;
97+ await fsUtil . writeFile ( pResolve ( rootStackPath , ' settings.json' ) , stackData ) ;
9898 log ( this . exportConfig , `Exported stack settings to root directory successfully!` , 'success' ) ;
9999
100100 // Export to all branches if branches exist
101101 if ( this . exportConfig . branches && this . exportConfig . branches . length > 0 ) {
102102 for ( const branch of this . exportConfig . branches ) {
103103 const branchStackPath = pResolve ( this . exportConfig . data , branch . uid , this . stackConfig . dirName ) ;
104104 await fsUtil . makeDirectory ( branchStackPath ) ;
105- await fsUtil . writeFile ( pResolve ( branchStackPath , " settings.json" ) , stackData ) ;
105+ await fsUtil . writeFile ( pResolve ( branchStackPath , ' settings.json' ) , stackData ) ;
106106 log ( this . exportConfig , `Exported stack settings for branch ${ branch . uid } successfully!` , 'success' ) ;
107107 }
108108 }
109-
109+
110110 return stackData ;
111111 } catch ( error ) {
112112 log ( this . exportConfig , `Failed to export stack settings. ${ formatError ( error ) } ` , 'error' ) ;
@@ -116,7 +116,7 @@ export default class ExportStack extends BaseClass {
116116
117117 async exportStack ( ) : Promise < any > {
118118 log ( this . exportConfig , 'Exporting stack details' , 'success' ) ;
119-
119+
120120 const stackData = await this . stack . fetch ( ) ;
121121 if ( ! stackData ) {
122122 log ( this . exportConfig , 'No stack data received' , 'error' ) ;
0 commit comments