未验证 提交 a885fbc2 编写于 作者: D Daniel Imms 提交者: GitHub

Merge pull request #90009 from microsoft/alexr00/originalFSPathCwd

Use originalFSPath in terminal
......@@ -186,7 +186,7 @@ export function getCwd(
if (shell.cwd) {
const unresolved = (typeof shell.cwd === 'object') ? shell.cwd.fsPath : shell.cwd;
const resolved = _resolveCwd(unresolved, lastActiveWorkspace, configurationResolverService);
return resolved || unresolved;
return _sanitizeCwd(resolved || unresolved);
}
let cwd: string | undefined;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册