bug #24881 [WebserverBundle] fixed the bug that caused that the webserver would … (Serkan Yildiz)

This PR was squashed before being merged into the 3.3 branch (closes #24881).

Discussion
----------

[WebserverBundle] fixed the bug that caused that the webserver would …

Fixed the bug that caused that the webserver would start anyway even you said N.

| Q             | A
| ------------- | ---
| Branch?       | 3.3
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | #24879
| License       | MIT
| Doc PR        | /

Commits
-------

c256782cc7 [WebserverBundle] fixed the bug that caused that the webserver would …
This commit is contained in:
Fabien Potencier 2017-11-09 06:04:31 -08:00
commit ead2a1a0eb

View File

@ -93,7 +93,7 @@ EOF
'You can either install it or use the "server:run" command instead.',
));
if ($io->ask('Do you want to execute <info>server:run</info> immediately? [yN] ', false)) {
if ($io->confirm('Do you want to execute <info>server:run</info> immediately?', false)) {
return $this->getApplication()->find('server:run')->run($input, $output);
}