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

Function withStatus

scripts/publish-packages.mjs:374–376  ·  view source on GitHub ↗
(status)

Source from the content-addressed store, hash-verified

372 }
373
374 function withStatus(status) {
375 return pending.filter(pkg => results.get(pkg.name) === status);
376 }
377
378 const published = [...withStatus('published'), ...withStatus('already-published')];
379 const needsBootstrap = withStatus('needs-bootstrap');

Callers 1

mainFunction · 0.85

Calls 2

filterMethod · 0.80
getMethod · 0.80

Tested by

no test coverage detected