diff options
Diffstat (limited to 'node_modules/hosted-git-info')
-rw-r--r-- | node_modules/hosted-git-info/git-host-info.js | 2 | ||||
-rw-r--r-- | node_modules/hosted-git-info/package.json | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/node_modules/hosted-git-info/git-host-info.js b/node_modules/hosted-git-info/git-host-info.js index 360d7b096..d4919344c 100644 --- a/node_modules/hosted-git-info/git-host-info.js +++ b/node_modules/hosted-git-info/git-host-info.js @@ -79,7 +79,7 @@ gitHosts.gitlab = Object.assign({}, defaults, { tarballtemplate: ({ domain, user, project, committish }) => `https://${domain}/${user}/${project}/repository/archive.tar.gz?ref=${maybeEncode(committish) || 'master'}`, extract: (url) => { const path = url.pathname.slice(1) - if (path.includes('/-/')) { + if (path.includes('/-/') || path.includes('/archive.tar.gz')) { return } diff --git a/node_modules/hosted-git-info/package.json b/node_modules/hosted-git-info/package.json index 930e3b693..b7e2ee28e 100644 --- a/node_modules/hosted-git-info/package.json +++ b/node_modules/hosted-git-info/package.json @@ -1,6 +1,6 @@ { "name": "hosted-git-info", - "version": "4.0.1", + "version": "4.0.2", "description": "Provides metadata and conversions from repository urls for GitHub, Bitbucket and GitLab", "main": "index.js", "repository": { |