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

Function run

test/skill-e2e-qa-workflow.test.ts:96–97  ·  view source on GitHub ↗
(cmd: string, args: string[])

Source from the content-addressed store, hash-verified

94
95 // Init git repo (qa-only checks for feature branch in diff-aware mode)
96 const run = (cmd: string, args: string[]) =>
97 spawnSync(cmd, args, { cwd: qaOnlyDir, stdio: 'pipe', timeout: 5000 });
98
99 run('git', ['init', '-b', 'main']);
100 run('git', ['config', 'user.email', 'test@test.com']);

Callers 1

Calls 1

spawnSyncFunction · 0.85

Tested by

no test coverage detected