Skip to content

Commit

Permalink
Properly die on "No" for does the following look correct.
Browse files Browse the repository at this point in the history
  • Loading branch information
Raistlfiren committed Jun 8, 2023
1 parent 89c1919 commit b9c3aae
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Subscriber/WorkoutCommandSubscriber.php
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ public function onParsingWorkoutsEnded(HandlerEvent $event)
if (! $answer) {
$this->symfonyStyle->note('Stopping import process');
$event->setStop(true);
die();
}
}

Expand Down

0 comments on commit b9c3aae

Please sign in to comment.