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

Function formatFailure

apps/kimi-code/src/cli/sub/doctor.ts:250–257  ·  view source on GitHub ↗
(results: readonly CheckResult[], issueCount: number)

Source from the content-addressed store, hash-verified

248}
249
250function formatFailure(results: readonly CheckResult[], issueCount: number): string {
251 return [
252 `Kimi doctor found ${String(issueCount)} ${issueCount === 1 ? 'issue' : 'issues'}.`,
253 '',
254 ...formatResults(results),
255 '',
256 ].join('\n');
257}
258
259function formatResults(results: readonly CheckResult[]): string[] {
260 const lines: string[] = [];

Callers 1

handleDoctorFunction · 0.85

Calls 1

formatResultsFunction · 0.85

Tested by

no test coverage detected