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

Function hereRelative

src/scripts/format.js:10–10  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8
9const here = p => path.join(__dirname, p)
10const hereRelative = p => here(p).replace(process.cwd(), '.')
11
12const useBuiltinConfig =
13 !args.includes('--config') && !hasLocalConfig('prettier')

Callers 1

format.jsFile · 0.70

Calls 1

hereFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…