(args: string[])
| 470 | |
| 471 | // Convert --mount args array (e.g., ['--mount', 'type=bind,...']) to -v syntax for wslc. |
| 472 | function convertMountArgsToVolume(args: string[]): string[] { |
| 473 | if (args.length === 2 && args[0] === '--mount') { |
| 474 | return convertMountToVolume(args[1]); |
| 475 | } |
| 476 | return args; |
| 477 | } |
| 478 | |
| 479 | function getLabels(labels: string[]): string[] { |
| 480 | let result: string[] = []; |
no test coverage detected