MCPcopy Index your code
hub / github.com/openclaw/clawsweeper / resolveExecutable

Function resolveExecutable

src/command.ts:45–47  ·  view source on GitHub ↗
(command: string)

Source from the content-addressed store, hash-verified

43}
44
45function resolveExecutable(command: string): string {
46 return command === "git" ? (process.env.GIT_BIN ?? "/usr/bin/git") : command;
47}
48
49function envArgs(name: string): string[] {
50 const value = process.env[name];

Callers 1

resolveCommandFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected