From 1b589bfe156b2126bab66bc092634614f88da3e9 Mon Sep 17 00:00:00 2001 From: Toni Uebernickel Date: Sat, 23 Jan 2016 19:18:14 +0100 Subject: [PATCH] check "bundle" argument has been passed --- Command/AbstractCommand.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Command/AbstractCommand.php b/Command/AbstractCommand.php index 6888df2..9bba4dc 100644 --- a/Command/AbstractCommand.php +++ b/Command/AbstractCommand.php @@ -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);