You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I pass in an scp shorthand url for gitlab.com with at least one group or subgroup, the package returns undefined.
Here is a reproduction via the node cli:
> var hostedGitInfo = require("hosted-git-info")
> var info = hostedGitInfo.fromUrl("git@gitlab.com:npm/path/to/something/hosted-git-info.git")
undefined
> typeof info
'undefined'
> var info = hostedGitInfo.fromUrl("ssh:git@gitlab.com:npm/path/to/something/hosted-git-info.git")
undefined
> typeof info
'object'
>
What / Why
If I pass in an scp shorthand url for gitlab.com with at least one group or subgroup, the package returns undefined.
Here is a reproduction via the node cli:
My package details:
hosted-git-info version: 3.0.2
Node version: v10.17.0
When
Always.
Current Behavior
Should return a valid object when invoked, not undefined.
Steps to Reproduce
please see above.
Expected Behavior
Returns a valid object.
The text was updated successfully, but these errors were encountered: