diff --git a/src/resolvers/exotics/hosted-git-resolver.js b/src/resolvers/exotics/hosted-git-resolver.js index 1b425a44de..35e3175e25 100644 --- a/src/resolvers/exotics/hosted-git-resolver.js +++ b/src/resolvers/exotics/hosted-git-resolver.js @@ -22,9 +22,9 @@ export function explodeHostedGitFragment(fragment: string, reporter: Reporter): const userParts = fragment.split('/'); - if (userParts.length === 2) { + if (userParts.length >= 2) { const user = userParts.shift(); - const repoParts = userParts.shift().split('#'); + const repoParts = userParts.join('/').split('#'); if (repoParts.length <= 2) { return {