MCPcopy Create free account
hub / github.com/RtlZeroMemory/Rezi / runNpmScript

Function runNpmScript

scripts/testing-slices.mjs:323–332  ·  view source on GitHub ↗
(script)

Source from the content-addressed store, hash-verified

321}
322
323function runNpmScript(script) {
324 const result = spawnSync(npmCommand, ["run", script], {
325 cwd: root,
326 stdio: "inherit",
327 env: { ...process.env },
328 });
329 if ((result.status ?? 1) !== 0) {
330 process.exit(result.status ?? 1);
331 }
332}
333
334function runSlice(slice) {
335 for (const suiteId of suiteIdsForSlice(slice)) {

Callers 1

runSliceFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected