mirror of
https://github.com/purocean/yn.git
synced 2026-09-24 15:46:02 +08:00
fix: fix cd command in powershell
This commit is contained in:
+1
-1
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user