未验证 提交 121653f0 编写于 作者: A Alex Ross 提交者: GitHub

Fix terminal split for single root workspace (#62259)

Fixes #62178
上级 2fade80c
......@@ -386,7 +386,7 @@ export class SplitTerminalAction extends Action {
}
return getCwdForSplit(this._terminalService.configHelper, instance, this.workspaceContextService.getWorkspace().folders, this.commandService).then(cwd => {
if (cwd) {
if (cwd || (cwd === '')) {
this._terminalService.splitInstance(instance, { cwd });
return this._terminalService.showPanel(true);
} else {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册