(value: string)
| 38 | * E.g. if an argument contains a space, then it will be enclosed within double quotes. |
| 39 | */ |
| 40 | export function fileToCommandArgument(value: string): string { |
| 41 | if (!value) { |
| 42 | return value; |
| 43 | } |
| 44 | return toCommandArgument(value).replace(/\\/g, '/'); |
| 45 | } |
| 46 | |
| 47 | /** |
| 48 | * String.trimQuotes implementation |
no test coverage detected