diff options
author | Gar <gar+gh@danger.computer> | 2021-03-24 19:10:10 +0300 |
---|---|---|
committer | Gar <gar+gh@danger.computer> | 2021-03-24 19:10:10 +0300 |
commit | 2cbfaac0ecd5810316f6d76168ed9618bd11bf3a (patch) | |
tree | 142fdec1200084bc8d1557fcc1494e7b37660d2b /node_modules | |
parent | e32d94b5aa421b9b80a8fcd85f862a8259fb33a9 (diff) |
hosted-git-info@4.0.2
Diffstat (limited to 'node_modules')
-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": { |