Skip to content

Commit

Permalink
fix naming
Browse files Browse the repository at this point in the history
  • Loading branch information
Weiko committed Aug 30, 2024
1 parent 4e83bb8 commit 1ec15cf
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,13 +39,13 @@ export class SetCustomObjectIsSoftDeletableCommand extends ActiveWorkspacesComma
};

if (options.dryRun) {
const entitiesToUpdate = await this.objectMetadataRepository.find({
const objectsToUpdate = await this.objectMetadataRepository.find({
select: ['id'],
where: updateCriteria,
});

this.logger.log(
`Dry run: ${entitiesToUpdate.length} entities would be updated`,
`Dry run: ${objectsToUpdate.length} objects would be updated`,
);

return;
Expand All @@ -55,6 +55,6 @@ export class SetCustomObjectIsSoftDeletableCommand extends ActiveWorkspacesComma
isSoftDeletable: true,
});

this.logger.log(`Updated ${result.affected} entities`);
this.logger.log(`Updated ${result.affected} objects`);
}
}

0 comments on commit 1ec15cf

Please sign in to comment.