MCPcopy Create free account
hub / github.com/AnukarOP/claude-code-leaked / findExecutable

Function findExecutable

source code/utils/findExecutable.ts:13–19  ·  view source on GitHub ↗
(
  exe: string,
  args: string[],
)

Source from the content-addressed store, hash-verified

11 * `args` is always the pass-through of the input args.
12 */
13export function findExecutable(
14 exe: string,
15 args: string[],
16): { cmd: string; args: string[] } {
17 const resolved = whichSync(exe)
18 return { cmd: resolved ?? exe, args }
19}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected