1
0
Fork 0

Make check more obvious

pull/4422/head
Dennis Birkholz 2015-09-18 17:55:07 +02:00
parent 6b1c9882dd
commit 681e543793
1 changed files with 1 additions and 1 deletions

View File

@ -128,7 +128,7 @@ class PathRepository extends ArrayRepository
$this->addPackage($package);
}
if (count($this) == 0) {
if (count($this->getPackages()) == 0) {
throw new \RuntimeException(sprintf('No `composer.json` file found in any path repository in "%s"', $this->url));
}
}