Fix lockfile
parent
a6e686b29e
commit
32e86ba410
|
@ -159,7 +159,7 @@ class Locker
|
||||||
return strcmp($a['package'], $b['package']);
|
return strcmp($a['package'], $b['package']);
|
||||||
});
|
});
|
||||||
|
|
||||||
if ($lock !== $this->getLockData()) {
|
if (!$this->isLocked() || $lock !== $this->getLockData()) {
|
||||||
$this->lockFile->write($lock);
|
$this->lockFile->write($lock);
|
||||||
$this->lockDataCache = null;
|
$this->lockDataCache = null;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue