Skip to content

Commit

Permalink
fix: Fixed MissingParentRecordsReport.csv generate
Browse files Browse the repository at this point in the history
  • Loading branch information
hknokh committed May 2, 2023
1 parent 7e9a699 commit 9ade116
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/modules/models/job_models/migrationJob.ts
Original file line number Diff line number Diff line change
Expand Up @@ -667,7 +667,7 @@ export default class MigrationJob {

// Done message
this.logger.infoVerbose(RESOURCES.newLine);
await self.saveCSVFileAsync(CONSTANTS.MISSING_PARENT_LOOKUP_RECORDS_ERRORS_FILENAME, allMissingParentLookups, false);
await self.saveCSVFileAsync(CONSTANTS.MISSING_PARENT_LOOKUP_RECORDS_ERRORS_FILENAME, allMissingParentLookups, true);


// ---------------------- Internal functions -------------------------------------- //
Expand All @@ -678,7 +678,7 @@ export default class MigrationJob {
RESOURCES.continueTheJob,
"",
async () => {
await self.saveCSVFileAsync(CONSTANTS.MISSING_PARENT_LOOKUP_RECORDS_ERRORS_FILENAME, allMissingParentLookups, false);
await self.saveCSVFileAsync(CONSTANTS.MISSING_PARENT_LOOKUP_RECORDS_ERRORS_FILENAME, allMissingParentLookups, true);
},
sObjectName,
String(data.missingParentLookups.length),
Expand Down

0 comments on commit 9ade116

Please sign in to comment.