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

Function git

scripts/verify-published-packages.mjs:115–121  ·  view source on GitHub ↗
(args)

Source from the content-addressed store, hash-verified

113}
114
115function git(args) {
116 const result = spawnSync('git', args, { cwd: ROOT_DIR, encoding: 'utf8', stdio: 'pipe' });
117 if (result.status !== 0) {
118 throw new Error(`git ${args.join(' ')} failed: ${result.stderr || result.stdout}`);
119 }
120 return result.stdout.trim();
121}
122
123/**
124 * Whether HEAD released this package: true unless the newest `<name>@*` tag

Callers 2

releasedAtHeadFunction · 0.85
mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected