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

Function run

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

Source from the content-addressed store, hash-verified

330
331 // Set up a git repo so there's project/branch context to reference
332 const run = (cmd: string, args: string[]) =>
333 spawnSync(cmd, args, { cwd: sessionDir, stdio: 'pipe', timeout: 5000 });
334 run('git', ['init', '-b', 'main']);
335 run('git', ['config', 'user.email', 'test@test.com']);
336 run('git', ['config', 'user.name', 'Test']);

Callers 1

skill-e2e.test.tsFile · 0.70

Calls 1

spawnSyncFunction · 0.85

Tested by

no test coverage detected