MCPcopy Create free account
hub / github.com/garrytan/gstack / run

Function run

test/skill-e2e-deploy.test.ts:23–24  ·  view source on GitHub ↗
(cmd: string, args: string[])

Source from the content-addressed store, hash-verified

21 beforeAll(() => {
22 landDir = fs.mkdtempSync(path.join(os.tmpdir(), 'skill-e2e-land-deploy-'));
23 const run = (cmd: string, args: string[]) =>
24 spawnSync(cmd, args, { cwd: landDir, stdio: 'pipe', timeout: 5000 });
25
26 run('git', ['init', '-b', 'main']);
27 run('git', ['config', 'user.email', 'test@test.com']);

Callers 1

Calls 1

spawnSyncFunction · 0.85

Tested by

no test coverage detected