(value: string)
| 38 | |
| 39 | // Use for literal values such as device labels where leading/trailing whitespace must survive round-trips. |
| 40 | export function formatScriptStringLiteral(value: string): string { |
| 41 | return JSON.stringify(value); |
| 42 | } |
| 43 | |
| 44 | // Preserve readable CLI-ish script output for ordinary tokens while still quoting whitespace. |
| 45 | function formatScriptArgQuoteIfNeeded(value: string): string { |
no outgoing calls
no test coverage detected