MCPcopy Index your code
hub / github.com/di-sukharev/opencommit / applyExecPath

Function applyExecPath

out/cli.cjs:65950–65953  ·  view source on GitHub ↗
(result, execPath, cwdPath)

Source from the content-addressed store, hash-verified

65948var applyPreferLocal = (result, cwdPath) => {
65949 let previous;
65950 while (previous !== cwdPath) {
65951 result.push(import_node_path.default.join(cwdPath, "node_modules/.bin"));
65952 previous = cwdPath;
65953 cwdPath = import_node_path.default.resolve(cwdPath, "..");
65954 }
65955};
65956var applyExecPath = (result, execPath, cwdPath) => {

Callers 1

npmRunPathFunction · 0.85

Calls 1

pushMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…