Avoid failing on composer show of lazy providers

main
Jordi Boggiano 10 years ago
parent 777f2e81a3
commit 8b46880f42

@ -204,6 +204,11 @@ class ComposerRepository extends ArrayRepository
$this->loadProviderListings($this->loadRootServerFile());
}
if ($this->lazyProvidersUrl) {
// Can not determine list of provided packages for lazy repositories
return array();
}
if ($this->providersUrl) {
return array_keys($this->providerListing);
}

Loading…
Cancel
Save