(sha: string)
| 156 | * Gets the subject line (first line) of a commit message for a given SHA. |
| 157 | */ |
| 158 | export function getCommitSubject(sha: string): string { |
| 159 | return execGit(["log", "-1", "--format=%s", sha]); |
| 160 | } |
| 161 | |
| 162 | /** |
| 163 | * Parses a GitHub PR number from a commit subject line. |
no test coverage detected
searching dependent graphs…