(x = '')
| 11 | if (!f.existsSync('.git')) return `.git can't be found` |
| 12 | |
| 13 | let _ = (x = '') => p.join(d, '_', x) |
| 14 | let { status: s, stderr: e } = c.spawnSync('git', ['config', 'core.hooksPath', `${d}/_`]) |
| 15 | if (s == null) return 'git command not found' |
| 16 | if (s) return '' + e |