Fix missing trailing / in repository paths
parent
3ef222c920
commit
2fb7dd881a
|
@ -104,8 +104,8 @@ class PathRepository extends ArrayRepository
|
||||||
$foundPackage = false;
|
$foundPackage = false;
|
||||||
|
|
||||||
foreach ($this->getPaths() as $path) {
|
foreach ($this->getPaths() as $path) {
|
||||||
$path = realpath($path);
|
$path = realpath($path) . '/';
|
||||||
|
|
||||||
$composerFilePath = $path.'composer.json';
|
$composerFilePath = $path.'composer.json';
|
||||||
if (!file_exists($composerFilePath)) {
|
if (!file_exists($composerFilePath)) {
|
||||||
continue;
|
continue;
|
||||||
|
|
Loading…
Reference in New Issue