From 2fb7dd881a9f692379b493280515497bef82c482 Mon Sep 17 00:00:00 2001 From: Dennis Birkholz Date: Fri, 18 Sep 2015 15:03:15 +0200 Subject: [PATCH] Fix missing trailing / in repository paths --- src/Composer/Repository/PathRepository.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Composer/Repository/PathRepository.php b/src/Composer/Repository/PathRepository.php index 891320118..5e4b1d931 100644 --- a/src/Composer/Repository/PathRepository.php +++ b/src/Composer/Repository/PathRepository.php @@ -104,8 +104,8 @@ class PathRepository extends ArrayRepository $foundPackage = false; foreach ($this->getPaths() as $path) { - $path = realpath($path); - + $path = realpath($path) . '/'; + $composerFilePath = $path.'composer.json'; if (!file_exists($composerFilePath)) { continue;