fix: fix cd command in powershell

This commit is contained in:
purocean
2022-03-24 10:15:54 +08:00
parent 2cae2a44e5
commit f90cb4e08b
+1 -1
View File
@@ -35,7 +35,7 @@ const transformCdCommand = (command: string) => {
}
if (shell.endsWith('powershell.exe')) {
return `cd '${path}'\n`
return `cd '${path}'\r\n`
}
// change dir for Windows.