(dir: string, message: string)
| 285 | * already run `git init` and set excludes; we just stage and commit. |
| 286 | */ |
| 287 | export async function commitInitial(dir: string, message: string): Promise<void> { |
| 288 | await runGit(dir, ['add', '.']); |
| 289 | await runGit(dir, [ |
| 290 | '-c', 'user.email=launcher@local', |
| 291 | '-c', 'user.name=launcher', |
| 292 | 'commit', '-q', '-m', message, |
| 293 | ]); |
| 294 | } |
| 295 | |
| 296 | // Routes through the bundled git (dugite) so the launcher's initial commit |
| 297 | // needs no system git — same reason the bootstrap scripts use _common.mjs's |
no test coverage detected