mirror of
https://github.com/composer/composer
synced 2025-05-10 09:02:59 +00:00
Make repository path absolute (again)
This commit is contained in:
parent
973491b65d
commit
3ef222c920
1 changed files with 2 additions and 0 deletions
|
@ -104,6 +104,8 @@ class PathRepository extends ArrayRepository
|
|||
$foundPackage = false;
|
||||
|
||||
foreach ($this->getPaths() as $path) {
|
||||
$path = realpath($path);
|
||||
|
||||
$composerFilePath = $path.'composer.json';
|
||||
if (!file_exists($composerFilePath)) {
|
||||
continue;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue