Skip to content

Commit

Permalink
flush early
Browse files Browse the repository at this point in the history
  • Loading branch information
SergioMendolia committed Oct 13, 2023
1 parent e24dd50 commit 8e1a3c8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Command/BooksTagCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,9 @@ protected function execute(InputInterface $input, OutputInterface $output): int
if ($summary !== '' && ($book->getSummary() === null || $book->getSummary() === '')) {
$book->setSummary($summary);
}
$this->entityManager->flush();

}
$this->entityManager->flush();

$progressBar->finish();

Expand Down

0 comments on commit 8e1a3c8

Please sign in to comment.