提交 48d38a13 编写于 作者: I isidor

fixes #52156

上级 c361c4a3
......@@ -45,7 +45,7 @@ export function getPathLabel(resource: URI | string, userHomeProvider: IUserHome
if (isEqual(baseResource.uri, resource, !isLinux)) {
pathLabel = ''; // no label if paths are identical
} else {
pathLabel = normalize(ltrim(resource.toString().substr(baseResource.uri.toString().length), nativeSep), true);
pathLabel = normalize(ltrim(resource.toString().substr(baseResource.uri.toString().length), sep), true);
}
if (hasMultipleRoots) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册