( flags: CliFlags, state: RemoteConnectionState, )
| 546 | }; |
| 547 | |
| 548 | function buildRuntimePreparationNotice( |
| 549 | flags: CliFlags, |
| 550 | state: RemoteConnectionState, |
| 551 | ): RuntimePreparationNotice | undefined { |
| 552 | if (state.runtime) return undefined; |
| 553 | if (!hasDeferredMetroConfig(flags) && !remoteConfigHasMetroSettings(state.remoteConfigPath)) { |
| 554 | return undefined; |
| 555 | } |
| 556 | return buildDeferredRuntimeNotice(state.remoteConfigPath); |
| 557 | } |
| 558 | |
| 559 | function buildRuntimePreparationNoticeFromState( |
| 560 | state: RemoteConnectionState, |
no test coverage detected