fix tag/branch collection 💣
parent
0f94dcd848
commit
320af80ad3
|
@ -280,10 +280,11 @@ class GitLabDriver extends VcsDriver
|
|||
{
|
||||
$resource = $this->getApiUrl().'/repository/'.$type.'?per_page=100';
|
||||
|
||||
$references = array();
|
||||
do {
|
||||
$data = JsonFile::parseJson($this->getContents($resource), $resource);
|
||||
|
||||
$references = array();
|
||||
|
||||
|
||||
foreach ($data as $datum) {
|
||||
$references[$datum['name']] = $datum['commit']['id'];
|
||||
|
|
Loading…
Reference in New Issue