(file: string, cwd: string)
| 278 | } |
| 279 | |
| 280 | async function addFileAndCommit(file: string, cwd: string) { |
| 281 | await add(file, cwd); |
| 282 | await commit(`add file ${file}`, cwd); |
| 283 | const commitSha = await getCurrentCommitId({ cwd }); |
| 284 | return commitSha; |
| 285 | } |
| 286 | |
| 287 | async function createShallowClone( |
| 288 | depth: number, |
no test coverage detected