We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1ec1e2f commit 41a6e73Copy full SHA for 41a6e73
1 file changed
src/vs/workbench/parts/terminal/electron-browser/terminalInstance.ts
@@ -802,7 +802,7 @@ export class TerminalInstance implements ITerminalInstance {
802
this.title === 'powershell';
803
804
if (isPowerShell && (hasSpace || originalPath.indexOf('\'') !== -1)) {
805
- c(`& '${originalPath.replace('\'', '\'\'')}'`);
+ c(`& '${originalPath.replace(/'/g, '\'\'')}'`);
806
return;
807
}
808
0 commit comments