(args: string[])
| 131 | } |
| 132 | |
| 133 | function git(args: string[]): void { |
| 134 | execFileSync('git', args, { |
| 135 | cwd: workspace, |
| 136 | stdio: 'pipe', |
| 137 | env: { |
| 138 | ...process.env, |
| 139 | GIT_AUTHOR_NAME: 'test', |
| 140 | GIT_AUTHOR_EMAIL: 'test@example.com', |
| 141 | GIT_COMMITTER_NAME: 'test', |
| 142 | GIT_COMMITTER_EMAIL: 'test@example.com', |
| 143 | }, |
| 144 | }); |
| 145 | } |
| 146 | |
| 147 | function initRepo(): void { |
| 148 | git(['init', '-b', 'main']); |
no outgoing calls
no test coverage detected