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

Function withoutCmsLabel

packages/decap-cms-backend-github/src/API.ts:199–201  ·  view source on GitHub ↗
(pr: GitHubPull, cmsLabelPrefix: string)

Source from the content-addressed store, hash-verified

197}
198
199function withoutCmsLabel(pr: GitHubPull, cmsLabelPrefix: string) {
200 return pr.labels.every(l => !isCMSLabel(l.name, cmsLabelPrefix));
201}
202
203function getTreeFiles(files: GitHubCompareFiles) {
204 const treeFiles = files.reduce((arr, file) => {

Callers 1

Calls 1

isCMSLabelFunction · 0.90

Tested by

no test coverage detected