( flags: CommandFlags | undefined, platform?: RuntimePlatform, )
| 87 | } |
| 88 | |
| 89 | export function buildRuntimeHints( |
| 90 | flags: CommandFlags | undefined, |
| 91 | platform?: RuntimePlatform, |
| 92 | ): SessionRuntimeHints { |
| 93 | return { |
| 94 | platform, |
| 95 | metroHost: trimRuntimeValue(flags?.metroHost), |
| 96 | metroPort: validateRuntimePort(flags?.metroPort), |
| 97 | bundleUrl: trimRuntimeValue(flags?.bundleUrl), |
| 98 | launchUrl: trimRuntimeValue(flags?.launchUrl), |
| 99 | }; |
| 100 | } |
| 101 | |
| 102 | export function mergeRuntimeHints( |
| 103 | current: SessionRuntimeHints | undefined, |
no test coverage detected