MCPcopy Create free account
hub / github.com/vercel/vercel / clearCachedCliInvocation

Function clearCachedCliInvocation

packages/cli-exec/src/lookup.ts:172–174  ·  view source on GitHub ↗
(cwd: string, pathValue: string)

Source from the content-addressed store, hash-verified

170 * Clears one cached CLI resolution for retry after a stale executable failed.
171 */
172export function clearCachedCliInvocation(cwd: string, pathValue: string) {
173 cliInvocationCache.delete(getCliInvocationCacheKey(cwd, pathValue));
174}
175
176/**
177 * Resolves the CLI invocation from local bins first, then the provided PATH.

Callers 1

execVercelCliFunction · 0.90

Calls 2

getCliInvocationCacheKeyFunction · 0.85
deleteMethod · 0.45

Tested by

no test coverage detected