diff --git a/Command/AssetsInstallCommand.php b/Command/AssetsInstallCommand.php index aee869f8f..199e1ad0d 100644 --- a/Command/AssetsInstallCommand.php +++ b/Command/AssetsInstallCommand.php @@ -121,7 +121,7 @@ protected function execute(InputInterface $input, OutputInterface $output) if (is_dir(\dirname($targetArg).'/web')) { $targetArg = \dirname($targetArg).'/web'; } else { - throw new InvalidArgumentException(sprintf('The target directory "%s" does not exist.', $input->getArgument('target'))); + throw new InvalidArgumentException(sprintf('The target directory "%s" does not exist.', $targetArg)); } } }