mirror of
https://github.com/composer/composer
synced 2025-05-09 08:32:56 +00:00
Clarify exception message
This commit is contained in:
parent
036c81b1cc
commit
242df060c7
1 changed files with 1 additions and 1 deletions
|
@ -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.');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue