( command: string, message: string, errorId: string, )
| 651 | } |
| 652 | |
| 653 | function makeInvalidResult( |
| 654 | command: string, |
| 655 | message: string, |
| 656 | errorId: string, |
| 657 | ): ParsedPowerShellCommand { |
| 658 | return { |
| 659 | ...INVALID_RESULT_BASE, |
| 660 | errors: [{ message, errorId }], |
| 661 | originalCommand: command, |
| 662 | } |
| 663 | } |
| 664 | |
| 665 | /** |
| 666 | * Base64-encode a string as UTF-16LE, which is the encoding required by |
no outgoing calls
no test coverage detected