* PowerShell single-quoted string. The ONLY special sequence is '' for a * literal single quote — no backtick escapes, no variable expansion, no * subexpressions. This is the safe PowerShell quoting; double-quoted * strings interpret `n `t `" etc. and can be escaped out of.
(s: string)
| 534 | * strings interpret `n `t `" etc. and can be escaped out of. |
| 535 | */ |
| 536 | function psQuote(s: string): string { |
| 537 | return `'${s.replace(/'/g, "''")}'` |
| 538 | } |
| 539 | |
| 540 | /** |
| 541 | * cmd.exe argument quoting. cmd.exe does NOT use CommandLineToArgvW-style |
no outgoing calls
no test coverage detected