Skip to content

Commit

Permalink
BUGFIX: cr:projectionReplay cli progress advancing
Browse files Browse the repository at this point in the history
  • Loading branch information
mhsdesign committed Aug 19, 2024
1 parent a9261f4 commit 10073c5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ public function projectionReplayCommand(string $projection, string $contentRepos
if (!$quiet) {
$this->outputLine('Replaying events for projection "%s" of Content Repository "%s" ...', [$projection, $contentRepositoryId->value]);
$progressBar->start(max($until > 0 ? $until : $projectionService->highestSequenceNumber()->value, 1));
$options->with(progressCallback: fn () => $progressBar->advance());
$options = $options->with(progressCallback: fn () => $progressBar->advance());
}
if ($until > 0) {
$options = $options->with(maximumSequenceNumber: SequenceNumber::fromInteger($until));
Expand Down

0 comments on commit 10073c5

Please sign in to comment.