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

Function setExecPath

packages/cli/test/unit/util/get-update-command.test.ts:48–53  ·  view source on GitHub ↗
(value: string)

Source from the content-addressed store, hash-verified

46 });
47
48 function setExecPath(value: string) {
49 Object.defineProperty(process, 'execPath', {
50 value: value.split('/').join(sep),
51 configurable: true,
52 });
53 }
54
55 it('should suggest pnpm when the binary is installed via pnpm', async () => {
56 process.env.VERCEL_VC_NATIVE = '1';

Callers 1

Calls 2

splitMethod · 0.80
joinMethod · 0.45

Tested by

no test coverage detected