( exe: string, args: string[], )
| 9 | * `args` is always the pass-through of the input args. |
| 10 | */ |
| 11 | export function findExecutable( |
| 12 | exe: string, |
| 13 | args: string[], |
| 14 | ): { cmd: string; args: string[] } { |
| 15 | const resolved = whichSync(exe) |
| 16 | return { cmd: resolved ?? exe, args } |
| 17 | } |
nothing calls this directly
no outgoing calls
no test coverage detected