Skip to content

Commit

Permalink
Update check-labels.js
Browse files Browse the repository at this point in the history
  • Loading branch information
t-will-gillis authored Nov 28, 2024
1 parent 8d94e1c commit a60057c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ function checkLabels(labels) {
const regExp = new RegExp(`\\b${requiredLabel}\\b`, 'gi');
const isLabelPresent = labels.some(label => {
// If the label is in the complexity exceptions array, it also fulfills the complexity requirements
if (COMPLEXITY_EXCEPTIONS.includes(label) && requiredLabel === 'Complexity') {
if (COMPLEXITY_EXCEPTIONS.includes(label) && requiredLabel === 'complexity') {
return true;
}

Expand Down

0 comments on commit a60057c

Please sign in to comment.