diff --git a/src/Composer/Repository/Vcs/GitLabDriver.php b/src/Composer/Repository/Vcs/GitLabDriver.php index 81762b64a..ae66ab53d 100644 --- a/src/Composer/Repository/Vcs/GitLabDriver.php +++ b/src/Composer/Repository/Vcs/GitLabDriver.php @@ -70,6 +70,7 @@ class GitLabDriver extends VcsDriver $this->originUrl = $match[2]; $this->owner = $match[3]; $this->repository = preg_replace('#(\.git)$#', '', $match[4]); + $this->cache = new Cache($this->io, $this->config->get('cache-repo-dir').'/'.$this->originUrl.'/'.$this->owner.'/'.$this->repository); $this->fetchProject();