MCPcopy Create free account
hub / github.com/PatrickJS/awesome-cursorrules / run

Function run

scripts/check-repo-concerns.test.mjs:25–30  ·  view source on GitHub ↗
(entrypoint, root, args = [])

Source from the content-addressed store, hash-verified

23}
24
25function run(entrypoint, root, args = []) {
26 return spawnSync(process.execPath, [entrypoint, "--root", root, ...args], {
27 cwd: root,
28 encoding: "utf8",
29 });
30}
31
32test("README hygiene entrypoint reports only README catalog failures", () => {
33 const root = makeFixture();

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected