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

Function run

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

Source from the content-addressed store, hash-verified

190
191 // Init git repo
192 const run = (cmd: string, args: string[]) =>
193 spawnSync(cmd, args, { cwd: opDir, stdio: 'pipe', timeout: 5000 });
194 run('git', ['init', '-b', 'main']);
195 run('git', ['config', 'user.email', 'test@test.com']);
196 run('git', ['config', 'user.name', 'Test']);

Callers 1

Calls 1

spawnSyncFunction · 0.85

Tested by

no test coverage detected