Avoid failing on composer show of lazy providers
parent
777f2e81a3
commit
8b46880f42
|
@ -204,6 +204,11 @@ class ComposerRepository extends ArrayRepository
|
||||||
$this->loadProviderListings($this->loadRootServerFile());
|
$this->loadProviderListings($this->loadRootServerFile());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if ($this->lazyProvidersUrl) {
|
||||||
|
// Can not determine list of provided packages for lazy repositories
|
||||||
|
return array();
|
||||||
|
}
|
||||||
|
|
||||||
if ($this->providersUrl) {
|
if ($this->providersUrl) {
|
||||||
return array_keys($this->providerListing);
|
return array_keys($this->providerListing);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue