mirror of
https://github.com/Sylius/Sylius.git
synced 2026-07-14 17:10:53 +00:00
Remove obsolete no-interaction check
The following `askConfirmation` call will automatically return the default value (`false`) if it's in non-interactive mode.
This commit is contained in:
parent
5e1bb1632e
commit
52e7af6c36
1 changed files with 0 additions and 4 deletions
|
|
@ -41,10 +41,6 @@ EOT
|
|||
{
|
||||
$output->writeln(sprintf('<error>Warning! This will erase your database.</error> Your current environment is <info>%s</info>.', $this->getEnvironment()));
|
||||
|
||||
if ($input->getOption('no-interaction')) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
if (!$this->getHelperSet()->get('dialog')->askConfirmation($output, '<question>Load sample data? (y/N)</question> ', false)) {
|
||||
return 0;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue