Skip to content

Commit

Permalink
Copy URI authority from base when splitting terminals, fixes #127811
Browse files Browse the repository at this point in the history
  • Loading branch information
spasche committed Aug 6, 2021
1 parent c2fab30 commit ff27061
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
});
}
Expand Down

0 comments on commit ff27061

Please sign in to comment.