(value: string)
| 700 | } |
| 701 | |
| 702 | function formatCommandArrayPart(value: string): string { |
| 703 | return /[\s"'`]/.test(value) ? `"${value.replace(/"/g, '\\"')}"` : value; |
| 704 | } |
| 705 | |
| 706 | function formatCommandValue(value: unknown): string | null { |
| 707 | const direct = asTrimmedString(value); |
no outgoing calls
no test coverage detected