MCPcopy
hub / github.com/typicode/husky / _

Function _

index.js:13–13  ·  view source on GitHub ↗
(x = '')

Source from the content-addressed store, hash-verified

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

Callers 1

index.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected