Skip to content

Commit b7f63c9

Browse files
xabbuhfabpot
authored andcommitted
access the container getting it from the kernel
1 parent 067879f commit b7f63c9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Command/AssetsInstallCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ protected function execute(InputInterface $input, OutputInterface $output)
9494
$targetArg = rtrim($input->getArgument('target'), '/');
9595

9696
if (!$targetArg) {
97-
$targetArg = $this->getPublicDirectory($this->getContainer());
97+
$targetArg = $this->getPublicDirectory($kernel->getContainer());
9898
}
9999

100100
if (!is_dir($targetArg)) {

0 commit comments

Comments
 (0)