(cwd)
| 1899 | } |
| 1900 | |
| 1901 | async function initGitRepo(cwd) { |
| 1902 | try { |
| 1903 | await spawnCapture('git', ['init'], { cwd, allowFailure: true }); |
| 1904 | await spawnCapture('git', ['add', '-A'], { cwd, allowFailure: true }); |
| 1905 | await spawnCapture('git', ['commit', '-m', 'initial fixture'], { cwd, allowFailure: true }); |
| 1906 | } catch { /* non-fatal */ } |
| 1907 | } |
| 1908 | |
| 1909 | async function main() { |
| 1910 | try { |
no test coverage detected