File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -147,8 +147,9 @@ export class PostMigrate extends BaseMigrationTool {
147147 while ( attempts < maxAttempts ) {
148148 await new Promise ( ( resolve ) => setTimeout ( resolve , 20000 ) ) ;
149149 const metadataService = new OmniStudioMetadataCleanupService ( this . connection , this . messages ) ;
150- const isMetadataEnabled = await metadataService . hasCleanOmniStudioMetadataTables ( ) ; //Check is the config tables are populated or not.
151- if ( ! isMetadataEnabled ) {
150+ const isConfigTablesEmpty = await metadataService . hasCleanOmniStudioMetadataTables ( ) ; //Check is the config tables are populated or not.
151+ if ( ! isConfigTablesEmpty ) {
152+ // If the config tables are populated, means the metadata is enabled.
152153 Logger . log ( this . messages . getMessage ( 'omniStudioSettingsMetadataEnabled' ) ) ;
153154 break ;
154155 }
You can’t perform that action at this time.
0 commit comments