Skip to content

Commit

Permalink
Fixes microsoft#46709: Tasks: Single/double quotes not quoted/escaped
Browse files Browse the repository at this point in the history
  • Loading branch information
dbaeumer committed Mar 28, 2018
1 parent 3fca707 commit 9e0374f
Showing 1 changed file with 9 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -62,18 +62,24 @@ export class TerminalTaskSystem implements ITaskSystem {
'powershell': {
escape: {
escapeChar: '`',
charsToEscape: ` ()`
charsToEscape: ' "\'()'
},
strong: '\'',
weak: '"'
},
'bash': {
escape: '\\',
escape: {
escapeChar: '\\',
charsToEscape: ' "\''
},
strong: '\'',
weak: '"'
},
'zsh': {
escape: '\\',
escape: {
escapeChar: '\\',
charsToEscape: ' "\''
},
strong: '\'',
weak: '"'
}
Expand Down

0 comments on commit 9e0374f

Please sign in to comment.