(args)
| 113 | } |
| 114 | |
| 115 | function git(args) { |
| 116 | const result = spawnSync('git', args, { cwd: ROOT_DIR, encoding: 'utf8', stdio: 'pipe' }); |
| 117 | if (result.status !== 0) { |
| 118 | throw new Error(`git ${args.join(' ')} failed: ${result.stderr || result.stdout}`); |
| 119 | } |
| 120 | return result.stdout.trim(); |
| 121 | } |
| 122 | |
| 123 | /** |
| 124 | * Whether HEAD released this package: true unless the newest `<name>@*` tag |
no outgoing calls
no test coverage detected