MCPcopy Create free account
hub / github.com/EvoMap/evolver / absEnv

Function absEnv

src/adapters/scripts/_runtimePaths.js:74–74  ·  view source on GitHub ↗
(v)

Source from the content-addressed store, hash-verified

72 // non-absolute override falls through to the trusted home/system default.
73 const _pathFlavor = process.platform === 'win32' ? path.win32 : path.posix;
74 const absEnv = (v) => (v && _pathFlavor.isAbsolute(v)) ? v : null;
75 const paths = [
76 // npm global with `npm config set prefix` overrides
77 path.join(home, '.npm-global', 'lib', 'node_modules'),

Callers 1

_buildInstallSearchPathsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected