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

Function tryDeploy

packages/cli/test/integration-2.test.ts:873–884  ·  view source on GitHub ↗
(cwd: string)

Source from the content-addressed store, hash-verified

871 }
872
873 async function tryDeploy(cwd: string) {
874 const { exitCode, stdout, stderr } = await execCli(
875 binaryPath,
876 ['--yes'],
877 {
878 cwd,
879 stdio: 'inherit',
880 }
881 );
882
883 expect(exitCode, formatOutput({ stdout, stderr })).toBe(0);
884 }
885
886 // Deploy once to populate the cache
887 await tryDeploy(directory);

Callers 1

Calls 2

execCliFunction · 0.90
formatOutputFunction · 0.50

Tested by

no test coverage detected