(message: string, cwd: string)
| 59 | }; |
| 60 | |
| 61 | export const commitAll = async (message: string, cwd: string) => { |
| 62 | await execWithOutput("git", ["add", "."], { |
| 63 | cwd, |
| 64 | }); |
| 65 | await execWithOutput("git", ["commit", "-m", message], { cwd }); |
| 66 | }; |
| 67 | |
| 68 | export const checkIfClean = async (cwd: string): Promise<boolean> => { |
| 69 | const { stdout } = await execWithOutput("git", ["status", "--porcelain"], { |
nothing calls this directly
no test coverage detected