Closed
Description
This is breaking npm installs and should be fixed before 2.0.0.
Encountered in https://github.com/npm/normalize-git-url/blob/master/normalize-git-url.js
1.8.1
> parsed = url.parse("git+ssh://git@github.com:organization/repo.git#hashbrowns")
> parsed.hash = ''
> url.format(parsed)
'git+ssh://git@github.com/:organization/repo.git'
2.0.0
> parsed = url.parse("git+ssh://git@github.com:organization/repo.git#hashbrowns")
> parsed.hash = ''
> url.format(parsed)
> 'git+ssh://git@github.com/:organization/repo.git#'