MCPcopy Create free account
hub / github.com/MoonshotAI/kimi-code / logUpdateWarn

Function logUpdateWarn

apps/kimi-code/src/cli/update/preflight.ts:461–467  ·  view source on GitHub ↗
(logger: UpdateLogger, message: string, payload: Record<string, unknown>)

Source from the content-addressed store, hash-verified

459}
460
461function logUpdateWarn(logger: UpdateLogger, message: string, payload: Record<string, unknown>): void {
462 try {
463 logger.warn(message, payload);
464 } catch {
465 // Diagnostic logging must never affect update prompting.
466 }
467}
468
469async function promptInstall(
470 currentVersion: string,

Callers 1

finishFunction · 0.85

Calls 1

warnMethod · 0.65

Tested by

no test coverage detected