(gitDir: string)
| 262 | }; |
| 263 | |
| 264 | export const getHeadCommitSubject = async (gitDir: string): Promise<string> => { |
| 265 | const { stdout } = await runGit(['log', '-1', '--pretty=%s'], gitDir); |
| 266 | return stdout.trim(); |
| 267 | }; |
| 268 | |
| 269 | export const getHeadCommitMessage = async (gitDir: string): Promise<string> => { |
| 270 | const { stdout } = await runGit(['log', '-1', '--pretty=%B'], gitDir); |
no test coverage detected
searching dependent graphs…