Clarify exception message
parent
036c81b1cc
commit
242df060c7
|
@ -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…
Reference in New Issue