提交 b7fad651 编写于 作者: J Joao Moreno

fix bad uri duplication

上级 7a5c6c32
......@@ -38,9 +38,9 @@ export function toGitUri(uri: Uri, ref: string, options: GitUriOptions = {}): Ur
let path = uri.path;
if (options.replaceFileExtension) {
path = path + `${path}.git`;
path = `${path}.git`;
} else if (options.submoduleOf) {
path = path + `${path}.diff`;
path = `${path}.diff`;
}
return uri.with({
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册