( script: string, powershellPath = 'powershell.exe' )
| 22 | } |
| 23 | |
| 24 | export function buildPowerShellEncodedCommand( |
| 25 | script: string, |
| 26 | powershellPath = 'powershell.exe' |
| 27 | ): string { |
| 28 | return [powershellPath, ...powerShellInlineArgs(script)].map(quoteCmdArg).join(' ') |
| 29 | } |
no test coverage detected