diff --git a/src/Composer/Repository/VcsRepository.php b/src/Composer/Repository/VcsRepository.php index 1399bed73..c6f644388 100644 --- a/src/Composer/Repository/VcsRepository.php +++ b/src/Composer/Repository/VcsRepository.php @@ -228,7 +228,7 @@ class VcsRepository extends ArrayRepository $this->io->overwrite('', false); if (!$this->getPackages()) { - throw new \RuntimeException('No composer.json was found in any branch or tag of '.$this->url.', could not load a package from it.'); + throw new \RuntimeException('No valid composer.json was found in any branch or tag of '.$this->url.', could not load a package from it.'); } }