MCPcopy Create free account
hub / github.com/AnukarOP/claude-code-leaked / formatReleaseNoteForDisplay

Function formatReleaseNoteForDisplay

source code/utils/logoV2Utils.ts:233–239  ·  view source on GitHub ↗
(
  note: string,
  maxWidth: number,
)

Source from the content-addressed store, hash-verified

231 * Formats release notes for display, with smart truncation
232 */
233export function formatReleaseNoteForDisplay(
234 note: string,
235 maxWidth: number,
236): string {
237 // Simply truncate at the max width, same as Recent Activity descriptions
238 return truncate(note, maxWidth)
239}
240
241/**
242 * Gets the common logo display data used by both LogoV2 and CondensedLogo

Callers

nothing calls this directly

Calls 1

truncateFunction · 0.70

Tested by

no test coverage detected