1
0
Fork 0

Remove unnecessary method call

pull/9165/head
username 2020-08-29 21:18:31 +02:00
parent 18009af023
commit 17ae93bc9c
1 changed files with 0 additions and 1 deletions

View File

@ -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