From 1b6b957b2347e46da1a468213db5e9c6b36e3263 Mon Sep 17 00:00:00 2001 From: blueowl04 Date: Mon, 11 Mar 2019 18:44:54 +0100 Subject: [PATCH] allow non-interactive timezone conversion (#637) --- src/Command/ConvertTimezoneCommand.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Command/ConvertTimezoneCommand.php b/src/Command/ConvertTimezoneCommand.php index e677b4ee..c67e4415 100644 --- a/src/Command/ConvertTimezoneCommand.php +++ b/src/Command/ConvertTimezoneCommand.php @@ -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.');