@@ -63,26 +63,21 @@ export default class ExportProjects extends PersonalizationAdapter<ExportConfig>
6363 this . exportConfig . project_id = this . projectsData [ 0 ] ?. uid ;
6464 log . debug ( `Set project ID: ${ this . projectsData [ 0 ] ?. uid } ` , this . exportConfig . context ) ;
6565
66- // Create progress manager - use parent if available, otherwise create nested
6766 let progress : any ;
6867 if ( this . parentProgressManager ) {
69- // Use parent progress manager - projects process should already be started by parent
7068 progress = this . parentProgressManager ;
7169 this . progressManager = this . parentProgressManager ;
7270 } else {
73- // Create our own progress for standalone execution
7471 progress = this . createNestedProgress ( 'Projects' ) ;
7572 progress . addProcess ( 'Projects' , 1 ) ;
7673 progress . startProcess ( 'Projects' ) . updateStatus ( 'Processing and exporting project data...' , 'Projects' ) ;
7774 }
7875
79- // Process and Projects
8076 const projectsFilePath = pResolve ( sanitizePath ( this . projectsFolderPath ) , 'projects.json' ) ;
8177 log . debug ( `Writing projects to: ${ projectsFilePath } ` , this . exportConfig . context ) ;
8278 fsUtil . writeFile ( projectsFilePath , this . projectsData ) ;
8379 log . debug ( 'Projects export completed successfully' , this . exportConfig . context ) ;
8480
85- // Update progress - use appropriate process name based on context
8681 const processName = this . parentProgressManager ? 'Projects' : 'Projects' ;
8782 this . updateProgress ( true , 'project export' , undefined , processName ) ;
8883
0 commit comments