Skip to content

Commit

Permalink
Fix inherited split cwd
Browse files Browse the repository at this point in the history
Fixes #121705
  • Loading branch information
Tyriar committed Apr 28, 2021
1 parent 5728f84 commit 99f8682
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/vs/workbench/contrib/terminal/browser/terminalService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -981,6 +981,9 @@ export class TerminalService implements ITerminalService {

// Shell launch config was provided
if (shellLaunchConfigOrProfile) {
if (cwd) {
shellLaunchConfigOrProfile.cwd = cwd;
}
return shellLaunchConfigOrProfile;
}

Expand Down

0 comments on commit 99f8682

Please sign in to comment.