MCPcopy Create free account
hub / github.com/decaporg/decap-cms / run

Function run

scripts/ga-preflight.mjs:23–29  ·  view source on GitHub ↗
(command, args)

Source from the content-addressed store, hash-verified

21const REGISTRY = 'https://registry.npmjs.org';
22
23function run(command, args) {
24 const result = spawnSync(command, args, { cwd: ROOT_DIR, encoding: 'utf8', stdio: 'pipe' });
25 if (result.status !== 0) {
26 throw new Error(`${command} ${args.join(' ')} failed: ${result.stderr || result.stdout}`);
27 }
28 return result.stdout;
29}
30
31function parseArgs(argv) {
32 const options = { remote: 'origin' };

Callers 2

getPublishablePackagesFunction · 0.70
getTagsFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected