Revert "Extract extraArgs
and workingDir
"
This reverts commit ee709b2966
.
This commit is contained in:
parent
01854538d4
commit
084f6fb3c7
5 changed files with 28 additions and 36 deletions
|
@ -11,13 +11,14 @@ final class InstallCommand extends AbstractCommand
|
|||
{
|
||||
public function execute(InputInterface $input, OutputInterface $output): int
|
||||
{
|
||||
parent::execute($input, $output);
|
||||
$extraArgs = $input->getOption('extra-args');
|
||||
$workingDir = $input->getOption('working-dir');
|
||||
|
||||
// TODO: Composer in Docker Compose?
|
||||
$process = Process::create(
|
||||
command: ['composer', 'install'],
|
||||
extraArgs: $this->extraArgs,
|
||||
workingDir: $this->workingDir,
|
||||
extraArgs: $extraArgs,
|
||||
workingDir: $workingDir,
|
||||
);
|
||||
|
||||
$process->setTimeout(null);
|
||||
|
|
Reference in a new issue