(...args)
| 330 | const repo = join(workspace, 'atlas-sample'); |
| 331 | await cp(FIXTURE, repo, { recursive: true }); |
| 332 | const git = (...args) => |
| 333 | execFileAsync('git', args, { |
| 334 | cwd: repo, |
| 335 | env: { ...process.env, GIT_CONFIG_GLOBAL: '/dev/null', GIT_CONFIG_SYSTEM: '/dev/null' }, |
| 336 | }); |
| 337 | await git('init', '-q', '-b', 'main'); |
| 338 | await git('config', 'user.name', 'codeatlasweb-demo'); |
| 339 | await git('config', 'user.email', 'demo@localhost'); |