(cmd: string, args: string[])
| 67 | fs.mkdirSync(gstackHome, { recursive: true }); |
| 68 | |
| 69 | const run = (cmd: string, args: string[]) => |
| 70 | spawnSync(cmd, args, { cwd: workDir, stdio: 'pipe', timeout: 5000 }); |
| 71 | run('git', ['init', '-b', 'main']); |
| 72 | run('git', ['config', 'user.email', 'test@test.com']); |
| 73 | run('git', ['config', 'user.name', 'Test']); |
no test coverage detected