MCPcopy
hub / github.com/garrytan/gstack / run

Function run

test/skill-e2e-design.test.ts:53–54  ·  view source on GitHub ↗
(cmd: string, args: string[])

Source from the content-addressed store, hash-verified

51 beforeAll(() => {
52 designDir = fs.mkdtempSync(path.join(os.tmpdir(), 'skill-e2e-design-consultation-'));
53 const run = (cmd: string, args: string[]) =>
54 spawnSync(cmd, args, { cwd: designDir, stdio: 'pipe', timeout: 5000 });
55
56 run('git', ['init', '-b', 'main']);
57 run('git', ['config', 'user.email', 'test@test.com']);

Callers 2

setupReviewDirFunction · 0.70

Calls 1

spawnSyncFunction · 0.85

Tested by

no test coverage detected