Make sure lock file is sorted, fixes #276
parent
8bdf4d8bcd
commit
9ba0505751
|
@ -129,6 +129,9 @@ class Locker
|
|||
|
||||
$lock['packages'][] = $spec;
|
||||
}
|
||||
usort($lock['packages'], function ($a, $b) {
|
||||
return strcmp($a['package'], $b['package']);
|
||||
});
|
||||
|
||||
$this->lockFile->write($lock);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue