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

Function withoutCmsLabel

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

Source from the content-addressed store, hash-verified

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

Callers 1

Calls 1

isCMSLabelFunction · 0.90

Tested by

no test coverage detected