浏览代码

Clarify exception message

Jordi Boggiano 13 年之前
父节点
当前提交
242df060c7
共有 1 个文件被更改,包括 1 次插入1 次删除
  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);
         $this->io->overwrite('', false);
 
 
         if (!$this->getPackages()) {
         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.');
         }
         }
     }
     }