Skip to content

Commit cc18a25

Browse files
authored
Merge branch 'main' into widget-richtext
2 parents 71c2d92 + fce2a69 commit cc18a25

File tree

1 file changed

+2
-1
lines changed
  • packages/decap-cms-backend-azure/src

1 file changed

+2
-1
lines changed

packages/decap-cms-backend-azure/src/API.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -592,7 +592,8 @@ export default class API {
592592
});
593593

594594
const filtered = pullRequests.filter(pr => {
595-
return pr.labels.some(label => isCMSLabel(label.name, this.cmsLabelPrefix));
595+
const labels = pr.labels ?? [];
596+
return labels.some(label => isCMSLabel(label.name, this.cmsLabelPrefix));
596597
});
597598
return filtered;
598599
}

0 commit comments

Comments
 (0)