()
| 6 | } |
| 7 | |
| 8 | export async function expectGitToBeClean(): Promise<void> { |
| 9 | const { stdout } = await silentGit('status', '--porcelain'); |
| 10 | if (stdout != '') { |
| 11 | throw new Error('Git repo is not clean...\n' + stdout); |
| 12 | } |
| 13 | } |
| 14 | |
| 15 | export async function gitCommit(message: string): Promise<void> { |
| 16 | await git('add', '-A'); |
nothing calls this directly
no test coverage detected