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

Function run

test/skill-e2e-office-hours.test.ts:35–36  ·  view source on GitHub ↗
(cmd: string, args: string[])

Source from the content-addressed store, hash-verified

33 beforeAll(() => {
34 workDir = fs.mkdtempSync(path.join(os.tmpdir(), 'skill-e2e-office-hours-forcing-'));
35 const run = (cmd: string, args: string[]) =>
36 spawnSync(cmd, args, { cwd: workDir, stdio: 'pipe', timeout: 5000 });
37
38 run('git', ['init', '-b', 'main']);
39 run('git', ['config', 'user.email', 'test@test.com']);

Callers 1

Calls 1

spawnSyncFunction · 0.85

Tested by

no test coverage detected