Skip to content

Commit 3d486f9

Browse files
chore: resolved comment
1 parent c2a506d commit 3d486f9

File tree

2 files changed

+3
-9
lines changed

2 files changed

+3
-9
lines changed

src/migration/related/ExperienceSiteMigration.ts

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,6 @@ export class ExperienceSiteMigration extends BaseRelatedObjectMigration {
152152

153153
Logger.logVerbose('Printing the difference' + JSON.stringify(difference));
154154

155-
// TODO - CHECK SOME IF ELSES HERE
156155
if (normalizedOriginalFileContent !== noarmalizeUpdatedFileContent) {
157156
Logger.logVerbose('Updating the file content');
158157
fs.writeFileSync(file.location, noarmalizeUpdatedFileContent, 'utf8');
@@ -208,11 +207,9 @@ export class ExperienceSiteMigration extends BaseRelatedObjectMigration {
208207
experienceSiteAssessmentInfo.warnings.push(warningMsg);
209208
} else {
210209
component.componentName = TARGET_COMPONENT_NAME_FC;
211-
212-
currentAttribute['direction'] = 'ltr';
213-
currentAttribute['display'] = 'Display button to open Omniscript';
214-
currentAttribute['inlineVariant'] = 'brand';
215-
currentAttribute['name'] = targetDataFromStorageFC.name;
210+
currentAttribute['flexcardName'] = targetDataFromStorageFC.name;
211+
currentAttribute['objectApiName'] = '{!objectApiName}';
212+
currentAttribute['recordId'] = '{!recordId}';
216213
}
217214
}
218215

src/utils/resultsbuilder/index.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -285,9 +285,6 @@ export class ResultsBuilder {
285285
),
286286
],
287287
})),
288-
rollbackFlags: (orgDetails.rollbackFlags || []).includes('RollbackApexChanges')
289-
? ['RollbackApexChanges']
290-
: undefined,
291288
};
292289

293290
const reportTemplate = fs.readFileSync(reportTemplateFilePath, 'utf8');

0 commit comments

Comments
 (0)