MCPcopy Index your code
hub / github.com/codeaashu/claude-code / formatReleaseNotes

Function formatReleaseNotes

src/commands/release-notes/release-notes.ts:9–17  ·  view source on GitHub ↗
(notes: Array<[string, string[]]>)

Source from the content-addressed store, hash-verified

7} from '../../utils/releaseNotes.js'
8
9function formatReleaseNotes(notes: Array<[string, string[]]>): string {
10 return notes
11 .map(([version, notes]) => {
12 const header = `Version ${version}:`
13 const bulletPoints = notes.map(note => `· ${note}`).join('\n')
14 return `${header}\n${bulletPoints}`
15 })
16 .join('\n\n')
17}
18
19export async function call(): Promise<LocalCommandResult> {
20 // Try to fetch the latest changelog with a 500ms timeout

Callers 1

callFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected