MCPcopy Create free account
hub / github.com/kentcdodds/kcd-scripts / here

Function here

src/scripts/pre-commit.js:5–5  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3const {hasPkgProp, hasFile, resolveBin} = require('../utils')
4
5const here = p => path.join(__dirname, p)
6const hereRelative = p => here(p).replace(process.cwd(), '.')
7
8const args = process.argv.slice(2)

Callers 1

hereRelativeFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…