(arg: string)
| 92 | } |
| 93 | |
| 94 | export function quotePowerShell(arg: string): string { |
| 95 | if (arg === '') return `''` |
| 96 | if (/^[\w/.\-]+$/.test(arg)) return arg |
| 97 | |
| 98 | return `'` + arg.replace(/'/g, "''") + `'` |
| 99 | } |
| 100 | |
| 101 | export type Duration = |
| 102 | | number |
no outgoing calls
no test coverage detected
searching dependent graphs…