Browse Source

Clarify exception message

Jordi Boggiano 13 năm trước cách đây
mục cha
commit
242df060c7
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      src/Composer/Repository/VcsRepository.php

+ 1 - 1
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.');
         }
     }