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

Function attemptResolve

src/run-script.js:121–127  ·  view source on GitHub ↗
(...resolveArgs)

Source from the content-addressed store, hash-verified

119}
120
121function attemptResolve(...resolveArgs) {
122 try {
123 return require.resolve(...resolveArgs)
124 } catch (error) {
125 return null
126 }
127}

Callers 1

spawnScriptFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…