Check we have a driver before using it
parent
1fd9174c0d
commit
22a93e7273
|
@ -43,6 +43,10 @@ class VcsRepository extends ArrayRepository
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!$driver) {
|
||||||
|
throw new \InvalidArgumentException('No driver found to handle VCS repository '.$this->url);
|
||||||
|
}
|
||||||
|
|
||||||
$versionParser = new VersionParser;
|
$versionParser = new VersionParser;
|
||||||
$loader = new ArrayLoader($this->repositoryManager);
|
$loader = new ArrayLoader($this->repositoryManager);
|
||||||
$versions = array();
|
$versions = array();
|
||||||
|
|
Loading…
Reference in New Issue