MCPcopy
hub / github.com/di-sukharev/opencommit / getNotFoundError

Function getNotFoundError

out/cli.cjs:1136–1136  ·  view source on GitHub ↗
(cmd)

Source from the content-addressed store, hash-verified

1134 var COLON = isWindows ? ";" : ":";
1135 var isexe = require_isexe();
1136 var getNotFoundError = (cmd) => Object.assign(new Error(`not found: ${cmd}`), { code: "ENOENT" });
1137 var getPathInfo = (cmd, opt) => {
1138 const colon = opt.colon || COLON;
1139 const pathEnv = cmd.match(/\//) || isWindows && cmd.match(/\\/) ? [""] : [

Callers 2

stepFunction · 0.85
whichSyncFunction · 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…