Skip to content

Commit

Permalink
fix 'Complexity' --> 'complexity'
Browse files Browse the repository at this point in the history
  • Loading branch information
t-will-gillis committed Nov 28, 2024
1 parent aea587c commit c398444
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 c398444

Please sign in to comment.