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

Function extractPrNumber

scripts/draft-changelog.ts:276–278  ·  view source on GitHub ↗
(subject: string)

Source from the content-addressed store, hash-verified

274}
275
276function extractPrNumber(subject: string) {
277 return /\(#(\d+)\)$/.exec(subject)?.[1];
278}
279
280export function categorizeCommit(subject: ParsedSubject) {
281 if (subject.breaking) {

Callers 1

parseCommitFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected