Fix inherited split cwd

Fixes #121705
This commit is contained in:
Daniel Imms 2021-04-28 08:20:32 -07:00
parent 5728f84b8c
commit 99f8682e29

View file

@ -981,6 +981,9 @@ export class TerminalService implements ITerminalService {
// Shell launch config was provided
if (shellLaunchConfigOrProfile) {
if (cwd) {
shellLaunchConfigOrProfile.cwd = cwd;
}
return shellLaunchConfigOrProfile;
}