(cwd: string, env: NodeJS.ProcessEnv, args: string[])
| 52 | } |
| 53 | |
| 54 | async function git(cwd: string, env: NodeJS.ProcessEnv, args: string[]): Promise<string> { |
| 55 | const { stdout } = await execFileAsync('git', args, { |
| 56 | cwd, |
| 57 | env: { ...process.env, ...env }, |
| 58 | }); |
| 59 | return stdout; |
| 60 | } |
| 61 | |
| 62 | async function snapshotDirectory(root: string): Promise<Map<string, string>> { |
| 63 | const snapshot = new Map<string, string>(); |
no outgoing calls
no test coverage detected