MCPcopy
hub / github.com/remix-run/react-router / run

Function run

integration/cli-test.ts:29–30  ·  view source on GitHub ↗
(command: string[], options: Parameters<typeof spawnSync>[2])

Source from the content-addressed store, hash-verified

27);
28
29const run = (command: string[], options: Parameters<typeof spawnSync>[2]) =>
30 spawnSync(nodeBin, [reactRouterBin, ...command], options);
31
32const getBinNodeEnv = (command: string[]) => {
33 let cwd = mkdtempSync(path.join(tmpdir(), "react-router-bin-"));

Callers 1

cli-test.tsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected