File tree Expand file tree Collapse file tree 2 files changed +12
-7
lines changed
Expand file tree Collapse file tree 2 files changed +12
-7
lines changed Original file line number Diff line number Diff line change @@ -131,17 +131,21 @@ export class PreMigrate extends BaseMigrationTool {
131131 deploymentConfig . authKey = process . env [ authEnvKey ] ;
132132 if ( ! deploymentConfig . authKey ) {
133133 Logger . warn ( this . messages . getMessage ( 'authKeyEnvVarNotSet' ) ) ;
134- actionItems . push ( this . messages . getMessage ( 'authKeyEnvVarNotSet' ) ) ;
134+ actionItems . push (
135+ `${ this . messages . getMessage ( 'authKeyEnvVarNotSet' ) } \n${ this . messages . getMessage ( 'manualDeploymentSteps' , [
136+ documentRegistry . manualDeploymentSteps ,
137+ ] ) } `
138+ ) ;
135139 }
136140 }
137141
138142 if ( ! consent ) {
139143 Logger . warn ( this . messages . getMessage ( 'deploymentConsentNotGiven' ) ) ;
140- actionItems . push ( this . messages . getMessage ( 'deploymentConsentNotGiven' ) ) ;
141- }
142-
143- if ( ! consent || ( includeLwc && ! deploymentConfig . authKey ) ) {
144- actionItems . push ( this . messages . getMessage ( 'manualDeploymentSteps' , [ documentRegistry . manualDeploymentSteps ] ) ) ;
144+ actionItems . push (
145+ ` ${ this . messages . getMessage ( 'deploymentConsentNotGiven' ) } \n ${ this . messages . getMessage ( 'manualDeploymentSteps' , [
146+ documentRegistry . manualDeploymentSteps ,
147+ ] ) } `
148+ ) ;
145149 }
146150
147151 return deploymentConfig ;
Original file line number Diff line number Diff line change @@ -83,7 +83,8 @@ export default class OmnistudioRelatedObjectMigrationFacade {
8383 sfProject . retrieve ( LWCTYPE , this . org . getUsername ( ) ) ;
8484 }
8585 if ( relatedObjects . includes ( Constants . Apex ) ) {
86- sfProject . retrieve ( APEXCLASS , this . org . getUsername ( ) ) ;
86+ Logger . logVerbose ( APEXCLASS ) ;
87+ // sfProject.retrieve(APEXCLASS, this.org.getUsername());
8788 }
8889
8990 if ( relatedObjects . includes ( Constants . FlexiPage ) ) {
You can’t perform that action at this time.
0 commit comments