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

Function run

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

Source from the content-addressed store, hash-verified

18}
19
20function run(root, args = []) {
21 return spawnSync(process.execPath, [scriptPath, "--root", root, ...args], {
22 cwd: root,
23 encoding: "utf8",
24 });
25}
26
27test("fails prompt files that contain invisible Unicode tag characters", () => {
28 const root = makeFixture();

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected