Skip to content

Commit

Permalink
access the container getting it from the kernel
Browse files Browse the repository at this point in the history
  • Loading branch information
xabbuh authored and fabpot committed Jan 2, 2019
1 parent 067879f commit b7f63c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Command/AssetsInstallCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ protected function execute(InputInterface $input, OutputInterface $output)
$targetArg = rtrim($input->getArgument('target'), '/');

if (!$targetArg) {
$targetArg = $this->getPublicDirectory($this->getContainer());
$targetArg = $this->getPublicDirectory($kernel->getContainer());
}

if (!is_dir($targetArg)) {
Expand Down

0 comments on commit b7f63c9

Please sign in to comment.