Skip to content

Commit

Permalink
Fix fallback variable reference to main config
Browse files Browse the repository at this point in the history
  • Loading branch information
coenjacobs authored May 23, 2020
1 parent bac416b commit a020748
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Console/Commands/Compose.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ protected function execute(InputInterface $input, OutputInterface $output)
$this->mover = new Mover($workingDir, $config);
$this->replacer = new Replacer($workingDir, $config);

$require = empty($config->packages) ? array_keys(get_object_vars($composer->require)) : $config->packages;
$require = empty($config->packages) ? array_keys(get_object_vars($this->config->require)) : $config->packages;

$packages = $this->findPackages($require);

Expand Down

0 comments on commit a020748

Please sign in to comment.