updated label comparison to be case insensitive
This commit is contained in:
parent
552417765d
commit
9ad2bf1e30
|
@ -80,7 +80,9 @@ function isLabeledStale(
|
|||
issue: Octokit.IssuesListForRepoResponseItem,
|
||||
label: string
|
||||
): boolean {
|
||||
return issue.labels.filter(i => i.name === label).length > 0;
|
||||
const labelComparer = l =>
|
||||
label.localeCompare(l.name, undefined, {sensitivity: 'accent'});
|
||||
return issue.labels.filter(labelComparer).length > 0;
|
||||
}
|
||||
|
||||
function wasLastUpdatedBefore(
|
||||
|
|
Loading…
Reference in New Issue