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

Function formatDisplayVersion

apps/kimi-code/src/cli/sub/upgrade.ts:190–192  ·  view source on GitHub ↗
(version: string)

Source from the content-addressed store, hash-verified

188}
189
190function formatDisplayVersion(version: string): string {
191 return version.startsWith('v') ? version : `v${version}`;
192}
193
194function formatErrorMessage(error: unknown): string {
195 return error instanceof Error ? error.message : String(error);

Callers 1

handleUpgradeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected