1
0
Fork 0

Merge branch '2.0'

pull/9817/head
Jordi Boggiano 2021-04-02 13:41:25 +02:00
commit 91136213d1
No known key found for this signature in database
GPG Key ID: 7BBD42C429EC80BC
1 changed files with 1 additions and 1 deletions

View File

@ -196,7 +196,7 @@ EOT
throw new \UnexpectedValueException('A valid composer.json and composer.lock files is required to run this command with --locked');
}
$locker = $composer->getLocker();
$lockedRepo = $locker->getLockedRepository(true);
$lockedRepo = $locker->getLockedRepository(!$input->getOption('no-dev'));
$repos = $installedRepo = new InstalledRepository(array($lockedRepo));
} else {
// --installed / default case