We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 921e6dd commit 1fd9d66Copy full SHA for 1fd9d66
index.js
@@ -64,6 +64,7 @@ function fromUrl (giturl, opts) {
64
var pathmatch = gitHostInfo.pathmatch
65
var matched = parsed.path.match(pathmatch)
66
if (!matched) return
67
+ /* istanbul ignore else */
68
if (matched[1] !== null && matched[1] !== undefined) {
69
user = decodeURIComponent(matched[1].replace(/^:/, ''))
70
}
0 commit comments