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

Function run

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

Source from the content-addressed store, hash-verified

26
27 // Init git repo with initial docs
28 const run = (cmd: string, args: string[]) =>
29 spawnSync(cmd, args, { cwd: docReleaseDir, stdio: 'pipe', timeout: 5000 });
30
31 run('git', ['init', '-b', 'main']);
32 run('git', ['config', 'user.email', 'test@test.com']);

Callers 1

Calls 1

spawnSyncFunction · 0.85

Tested by

no test coverage detected