Ignore empty path repositories per issue #4903
parent
8808638ea9
commit
ff6700f9ee
|
@ -140,10 +140,6 @@ class PathRepository extends ArrayRepository implements ConfigurableRepositoryIn
|
||||||
$package = $this->loader->load($package);
|
$package = $this->loader->load($package);
|
||||||
$this->addPackage($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…
Reference in New Issue