Skip to content

Commit 1b589bf

Browse files
committed
check "bundle" argument has been passed
1 parent b02a4fe commit 1b589bf

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Command/AbstractCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ protected function initialize(InputInterface $input, OutputInterface $output)
128128

129129
$this->checkConfiguration();
130130

131-
if ($input->hasArgument('bundle')) {
131+
if ($input->hasArgument('bundle') && $input->getArgument('bundle')) {
132132
$bundleName = $input->getArgument('bundle');
133133
if (0 === strpos($bundleName, '@')) {
134134
$bundleName = substr($bundleName, 1);

0 commit comments

Comments
 (0)