MCPcopy Create free account
hub / github.com/NomicFoundation/hardhat / generateChangesTextFrom

Function generateChangesTextFrom

scripts/version-alpha.ts:164–179  ·  view source on GitHub ↗
(changesets)

Source from the content-addressed store, hash-verified

162}
163
164function generateChangesTextFrom(changesets) {
165 return changesets
166 .map(({ content, commitHash }) =>
167 content
168 .trim()
169 .split("\n")
170 .map(
171 (entry) =>
172 `- ${
173 commitHash !== null ? `${commitHash.slice(0, 7)}: ` : ""
174 }${entry}`,
175 )
176 .join("\n"),
177 )
178 .join("\n");
179}
180
181await versionAlpha();

Callers 1

generateChangelogFromFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected