Skip to content

Commit

Permalink
Use fsPath over path for terminal cwd
Browse files Browse the repository at this point in the history
  • Loading branch information
Tyriar committed Jan 10, 2019
1 parent 6748078 commit 14aa41a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ export class TerminalProcessManager implements ITerminalProcessManager {

if (shellLaunchConfig.cwd && typeof shellLaunchConfig.cwd === 'object') {
launchRemotely = !!getRemoteAuthority(shellLaunchConfig.cwd);
shellLaunchConfig.cwd = shellLaunchConfig.cwd.path;
shellLaunchConfig.cwd = shellLaunchConfig.cwd.fsPath;
} else {
launchRemotely = !!this._windowService.getConfiguration().remoteAuthority;
}
Expand Down

0 comments on commit 14aa41a

Please sign in to comment.