allow non-interactive timezone conversion (#637)

This commit is contained in:
blueowl04
2019-03-11 18:44:54 +01:00
committed by Kevin Papst
parent 0f6334314e
commit 1b6b957b23

View File

@@ -120,7 +120,7 @@ class ConvertTimezoneCommand extends Command
$result = $this->getTimesheets($start, $end);
$amount = count($result);
$answer = $io->ask(sprintf('This will update %s timesheet records, continue (y/n) ? ', $amount));
$answer = $io->ask(sprintf('This will update %s timesheet records, continue (y/n) ? ', $amount), 'y');
if ('y' !== $answer) {
$io->text('Aborting.');