MCPcopy
hub / github.com/nodejs/corepack / DevEngineDependency

Interface DevEngineDependency

sources/specUtils.ts:64–68  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

62};
63
64interface DevEngineDependency {
65 name: string;
66 version: string;
67 onFail?: `ignore` | `warn` | `error`;
68}
69function warnOrThrow(errorMessage: string, onFail?: DevEngineDependency[`onFail`]) {
70 switch (onFail) {
71 case `ignore`:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…