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

Function formatReleaseNoteForDisplay

src/utils/logoV2Utils.ts:231–237  ·  view source on GitHub ↗
(
  note: string,
  maxWidth: number,
)

Source from the content-addressed store, hash-verified

229 * Formats release notes for display, with smart truncation
230 */
231export function formatReleaseNoteForDisplay(
232 note: string,
233 maxWidth: number,
234): string {
235 // Simply truncate at the max width, same as Recent Activity descriptions
236 return truncate(note, maxWidth)
237}
238
239/**
240 * 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