(config)
| 235 | } |
| 236 | |
| 237 | export function createPrintableConfig(config) { |
| 238 | return { |
| 239 | baseUrl: config.baseUrl, |
| 240 | lanAddress: config.lanAddress, |
| 241 | lanInterfaceName: config.lanInterfaceName, |
| 242 | metroHost: |
| 243 | config.metroHostSource === 'environment' |
| 244 | ? config.packagerHostname |
| 245 | : 'Expo-managed', |
| 246 | metroHostSource: config.metroHostSource, |
| 247 | packagerHostname: config.packagerHostname ?? null, |
| 248 | port: config.port, |
| 249 | pnpmCommand: config.pnpmCommand, |
| 250 | serverOpenAIKeyLoaded: config.serverOpenAIKeyLoaded, |
| 251 | usedProvidedBaseUrl: config.usedProvidedBaseUrl, |
| 252 | usedProvidedPackagerHostname: config.usedProvidedPackagerHostname, |
| 253 | } |
| 254 | } |
| 255 | |
| 256 | function printConfig(config) { |
| 257 | console.log(JSON.stringify(createPrintableConfig(config), null, 2)) |
no outgoing calls
no test coverage detected