(value: string | undefined)
| 99 | } |
| 100 | |
| 101 | function parseLogFormat(value: string | undefined): LogFormat { |
| 102 | if (!value || value === "json") return "json"; |
| 103 | if (value === "pretty") return "pretty"; |
| 104 | |
| 105 | throw new Error(`Invalid DEVSPACE_LOG_FORMAT: ${value}`); |
| 106 | } |
| 107 | |
| 108 | function parsePathList(value: string | undefined): string[] { |
| 109 | return ( |
no outgoing calls
no test coverage detected