MCPcopy
hub / github.com/PatrickJS/awesome-cursorrules / run

Function run

scripts/convert-readme-links.test.mjs:27–32  ·  view source on GitHub ↗
(root, args)

Source from the content-addressed store, hash-verified

25}
26
27function run(root, args) {
28 return spawnSync(process.execPath, [scriptPath, ...args], {
29 cwd: root,
30 encoding: "utf8",
31 });
32}
33
34test("converts relative rule links to absolute GitHub URLs", () => {
35 const root = makeFixture();

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected