Remove unnecessary method call
parent
18009af023
commit
17ae93bc9c
|
@ -51,7 +51,6 @@ EOT
|
||||||
$requires = array();
|
$requires = array();
|
||||||
if ($input->getOption('no-dev')) {
|
if ($input->getOption('no-dev')) {
|
||||||
$installedRepo = $composer->getLocker()->getLockedRepository(!$input->getOption('no-dev'));
|
$installedRepo = $composer->getLocker()->getLockedRepository(!$input->getOption('no-dev'));
|
||||||
$dependencies = $installedRepo->getPackages();
|
|
||||||
} else {
|
} else {
|
||||||
$installedRepo = $composer->getRepositoryManager()->getLocalRepository();
|
$installedRepo = $composer->getRepositoryManager()->getLocalRepository();
|
||||||
// fallback to lockfile if installed repo is empty
|
// fallback to lockfile if installed repo is empty
|
||||||
|
|
Loading…
Reference in New Issue