Skip to content

Conversation

charliermarsh
Copy link
Member

Summary

This check can be subtly incorrect on case-insensitive filesystems (e.g., NTFS). Seems easiest to just make the whole comparison case-insensitive.

Closes #1284.

@charliermarsh charliermarsh changed the title Use case-insensitive comparison for detecting rye.exe Use case-insensitive comparison for detecting rye.exe Jul 27, 2024
@charliermarsh charliermarsh added the bug Something isn't working label Jul 27, 2024
@charliermarsh charliermarsh merged commit 05f1c49 into main Jul 27, 2024
8 checks passed
@charliermarsh charliermarsh deleted the charlie/exe branch July 27, 2024 18:38
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 this pull request may close these issues.

Crashes if run with different casing for rye.exe (ex: rye.EXE).
1 participant