Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make label comparison case insensitive. #516

Closed
luketomlinson opened this issue Jul 1, 2021 · 1 comment · Fixed by #517
Closed

Make label comparison case insensitive. #516

luketomlinson opened this issue Jul 1, 2021 · 1 comment · Fixed by #517
Labels
bug Something isn't working

Comments

@luketomlinson
Copy link
Collaborator

Describe your issue

The comparison logic for when an issue was labeled stale should not be case sensitive.

@luketomlinson luketomlinson added the bug Something isn't working label Jul 1, 2021
@C0ZEN
Copy link
Contributor

C0ZEN commented Jul 2, 2021

Why not use

function cleanLabel(label: Readonly<string>): CleanLabel {
return deburr(label.toLowerCase());
}
@luketomlinson

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants