MCPcopy Create free account
hub / github.com/heygen-com/hyperframes / artifactHasGeneratedTodo

Function artifactHasGeneratedTodo

scripts/set-version.ts:270–278  ·  view source on GitHub ↗
(artifact: string)

Source from the content-addressed store, hash-verified

268}
269
270function artifactHasGeneratedTodo(artifact: string) {
271 const [path, marker] = artifact.split("#");
272 const content = readFileSync(join(ROOT, path), "utf-8");
273 if (!marker) {
274 return hasGeneratedChangelogTodo(content);
275 }
276
277 return docsChangelogEntryHasGeneratedTodo(content, marker);
278}
279
280export function hasGeneratedChangelogTodo(content: string) {
281 return content.includes(CHANGELOG_REVIEW_TODO);

Callers 1

Tested by

no test coverage detected