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

Function arg

__tests__/bundle-launcher.test.ts:160–160  ·  view source on GitHub ↗
(n: number)

Source from the content-addressed store, hash-verified

158 fs.mkdirSync(work);
159 fs.writeFileSync(path.join(site, 'node-v24.22.1-linux-x64', 'bin', 'node'), '#!/bin/sh\n');
160 const arg = (n: number) => windows ? `$(cygpath -u "$${n}")` : `$${n}`;
161 // Packed the way nodejs.org packs a release: one top-level folder.
162 const pack = shell(`set -eu\ncd "${arg(1)}"\ntar -czf ${archive} node-v24.22.1-linux-x64`, [site]);
163 expect(pack.status, pack.stderr).toBe(0);

Callers 1

downloadFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected