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

getIconForFile case sensitive #20

Open
justin-coberly opened this issue Aug 14, 2020 · 1 comment
Open

getIconForFile case sensitive #20

justin-coberly opened this issue Aug 14, 2020 · 1 comment

Comments

@justin-coberly
Copy link

When parsing languages like R where the extension is typically uppercase .R instead of .r, getIconForFile() returns a default icon rather than the correct R icon.

This pattern continues for .SVG, .TXT, etc.

Is it reasonable to lowercase the filepath / extension passed in to limit case sensitivity issues?

@dderevjanik
Copy link
Owner

Hi,

thank you for reporting it. Will fix it in next release :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants