diff --git a/src/vs/workbench/contrib/terminal/browser/terminalService.ts b/src/vs/workbench/contrib/terminal/browser/terminalService.ts index da4f4b526a196..b4192d7165e49 100644 --- a/src/vs/workbench/contrib/terminal/browser/terminalService.ts +++ b/src/vs/workbench/contrib/terminal/browser/terminalService.ts @@ -1141,6 +1141,7 @@ export class TerminalService implements ITerminalService { if (options?.instanceToSplit && typeof shellLaunchConfig.cwd !== 'object' && typeof options.instanceToSplit.shellLaunchConfig.cwd === 'object') { shellLaunchConfig.cwd = URI.from({ scheme: options.instanceToSplit.shellLaunchConfig.cwd.scheme, + authority: options.instanceToSplit.shellLaunchConfig.cwd.authority, path: shellLaunchConfig.cwd || options.instanceToSplit.shellLaunchConfig.cwd.path }); }