Revert "fix(Locker): don't store transport-options.ssl within the lock-file (#12019)"
This reverts commit 03bbfdd8f4
.
pull/12108/head
parent
e4038e5e3b
commit
5f2b91aea8
|
@ -434,14 +434,6 @@ class Locker
|
||||||
|
|
||||||
$spec = $this->dumper->dump($package);
|
$spec = $this->dumper->dump($package);
|
||||||
unset($spec['version_normalized']);
|
unset($spec['version_normalized']);
|
||||||
// remove `transport-options.ssl` from lock file to prevent storing
|
|
||||||
// local-filesystem repo config paths in the lock file as that makes it less portable
|
|
||||||
if (isset($spec['transport-options']['ssl'])) {
|
|
||||||
unset($spec['transport-options']['ssl']);
|
|
||||||
if (\count($spec['transport-options']) === 0) {
|
|
||||||
unset($spec['transport-options']);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
// always move time to the end of the package definition
|
// always move time to the end of the package definition
|
||||||
$time = $spec['time'] ?? null;
|
$time = $spec['time'] ?? null;
|
||||||
|
|
Loading…
Reference in New Issue