Is there an existing issue for this?
Current Behavior
correctProtocol("foobar://user:host@path", {}) returns "git+ssh://foobar://user:host@path".
Expected Behavior
I expect correctProtocol to return "foobar://user:host@path". I am uncertain whether this is truly expected, but this feels significantly more natural to me than the actual output.
Steps To Reproduce
A reproduction is available at typescriptlang.org.
Environment
- Current mainline release at
97fef20.