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
fix(arborist): use hosted-git-info to correctly parse resolved git urls (#8356)
When custom hosted git url are used to install dependencies it's not
installing that dependency when the url is of
`git+ssh://[email protected]:a/b/c.git` format instead of
`git+ssh://[email protected]/a/b/c.git`.
#### Cause:
` new URL(resolved)` throws an error which is getting caught and in-turn
results in removal of that node.
This behaviour was working as expected before this
#8185 which replaced
`hgi.parseUrl(resoved)` call to `new URL(resolved)`
#### Fix:
keep the `hgi.parseUrl` call to correctly parse the git url as
mentioned/explained in this PR #5758Fixes: #8331
0 commit comments