Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
276
function
extractPrNumber(subject: string) {
277
return
/\(#(\d+)\)$/.exec(subject)?.[1];
278
}
279
280
export
function
categorizeCommit(subject: ParsedSubject) {
281
if
(subject.breaking) {
Callers
1
parseCommit
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected