Only update reference if there is actually a reference, fixes #5609
parent
90b99ea5c2
commit
ed78253c58
|
@ -1137,6 +1137,10 @@ class Installer
|
|||
|
||||
private function updateInstallReferences(PackageInterface $package, $reference)
|
||||
{
|
||||
if (!$reference) {
|
||||
return;
|
||||
}
|
||||
|
||||
$package->setSourceReference($reference);
|
||||
$package->setDistReference($reference);
|
||||
|
||||
|
|
Loading…
Reference in New Issue