MCPcopy Index your code
hub / github.com/callstack/agent-device / buildRuntimePreparationNotice

Function buildRuntimePreparationNotice

src/cli/commands/connection.ts:548–557  ·  view source on GitHub ↗
(
  flags: CliFlags,
  state: RemoteConnectionState,
)

Source from the content-addressed store, hash-verified

546};
547
548function 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
559function buildRuntimePreparationNoticeFromState(
560 state: RemoteConnectionState,

Callers 1

connectCommandFunction · 0.85

Calls 3

hasDeferredMetroConfigFunction · 0.90

Tested by

no test coverage detected