Avoid overwriting notification-url
parent
7073d3876e
commit
3f2b9b4d4b
|
@ -518,7 +518,9 @@ class ComposerRepository extends ArrayRepository implements StreamableRepository
|
|||
protected function createPackage(array $data, $class)
|
||||
{
|
||||
try {
|
||||
if (!isset($data['notification-url'])) {
|
||||
$data['notification-url'] = $this->notifyUrl;
|
||||
}
|
||||
|
||||
return $this->loader->load($data, 'Composer\Package\CompletePackage');
|
||||
} catch (\Exception $e) {
|
||||
|
|
Loading…
Reference in New Issue