(value: string | undefined)
| 30 | type Env = Readonly<Record<string, string | undefined>>; |
| 31 | |
| 32 | function trimmed(value: string | undefined): string | undefined { |
| 33 | const t = value?.trim(); |
| 34 | return t === undefined || t.length === 0 ? undefined : t; |
| 35 | } |
| 36 | |
| 37 | function fail(message: string): never { |
| 38 | throw new KimiError(ErrorCodes.CONFIG_INVALID, message); |
no outgoing calls
no test coverage detected