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

Function run

test/skill-e2e-session-intelligence.test.ts:33–34  ·  view source on GitHub ↗
(cmd: string, args: string[])

Source from the content-addressed store, hash-verified

31
32 // Init git repo
33 const run = (cmd: string, args: string[]) =>
34 spawnSync(cmd, args, { cwd: workDir, stdio: 'pipe', timeout: 5000 });
35 run('git', ['init', '-b', 'main']);
36 run('git', ['config', 'user.email', 'test@test.com']);
37 run('git', ['config', 'user.name', 'Test']);

Calls 1

spawnSyncFunction · 0.85

Tested by

no test coverage detected