1
0
Fork 0

Merge pull request #4904 from curry684/issue-4903

Ignore empty path repositories
pull/4908/head
Jordi Boggiano 2016-02-11 11:17:41 +00:00
commit 6d1ebba75e
1 changed files with 0 additions and 4 deletions

View File

@ -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));
}
}
/**