check "bundle" argument has been passed
This commit is contained in:
parent
b02a4feec3
commit
1b589bfe15
1 changed files with 1 additions and 1 deletions
|
|
@ -128,7 +128,7 @@ abstract class AbstractCommand extends ContainerAwareCommand
|
|||
|
||||
$this->checkConfiguration();
|
||||
|
||||
if ($input->hasArgument('bundle')) {
|
||||
if ($input->hasArgument('bundle') && $input->getArgument('bundle')) {
|
||||
$bundleName = $input->getArgument('bundle');
|
||||
if (0 === strpos($bundleName, '@')) {
|
||||
$bundleName = substr($bundleName, 1);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue