(...a: string[])
| 106 | |
| 107 | // Build a tiny repo with an "origin/main" carrying VERSION=1.0.0.0. |
| 108 | const git = (...a: string[]) => execFileSync('git', a, { cwd: dir, stdio: 'pipe' }); |
| 109 | fs.writeFileSync(path.join(dir, 'VERSION'), '1.0.0.0\n'); |
| 110 | fs.writeFileSync(path.join(dir, 'package.json'), JSON.stringify({ name: 'x', version: '1.0.0.0' }, null, 2) + '\n'); |
| 111 | git('init', '-q', '-b', 'main'); |
no outgoing calls
no test coverage detected