(env: ProcessEnv | null)
| 185 | } |
| 186 | |
| 187 | function hasNoColorEnv(env: ProcessEnv | null): boolean { |
| 188 | if (!env) return false; |
| 189 | return Object.prototype.hasOwnProperty.call(env, "NO_COLOR"); |
| 190 | } |
| 191 | |
| 192 | function toAppConfig(config: NodeAppConfig | undefined): AppConfig | undefined { |
| 193 | if (config === undefined) return undefined; |