MCPcopy Create free account
hub / github.com/colbymchenry/codegraph / run

Function run

__tests__/extract-release-notes.test.ts:24–30  ·  view source on GitHub ↗
(cwd: string, version: string)

Source from the content-addressed store, hash-verified

22}
23
24function run(cwd: string, version: string) {
25 return execFileSync('node', [SCRIPT, version], {
26 cwd,
27 encoding: 'utf8',
28 env: { ...process.env, GITHUB_REPOSITORY: 'owner/repo' },
29 });
30}
31
32function entries(prefix: string, count: number, length: number) {
33 return Array.from({ length: count }, (_, i) => `- ${prefix} ${i + 1}: ${'x'.repeat(length)}`);

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected