mirror of
https://github.com/composer/composer
synced 2025-05-11 09:32:55 +00:00
Ignore empty path repositories per issue #4903
This commit is contained in:
parent
8808638ea9
commit
ff6700f9ee
1 changed files with 0 additions and 4 deletions
|
@ -140,10 +140,6 @@ class PathRepository extends ArrayRepository implements ConfigurableRepositoryIn
|
|||
$package = $this->loader->load($package);
|
||||
$this->addPackage($package);
|
||||
}
|
||||
|
||||
if (count($this->getPackages()) == 0) {
|
||||
throw new \RuntimeException(sprintf('No `composer.json` file found in any path repository in "%s"', $this->url));
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue