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

Fixes Windows error message due to incorrect type comparison. #205

Merged
merged 1 commit into from
Mar 16, 2024

Conversation

BertrandBordage
Copy link
Contributor

On Windows, I only see Some dependencies may be missing from your system. even though the value of config_value is ('posix',). This is because the type comparison is wrong, it checks that the tuple ('posix',) is in ('posix', 'bash'), instead of checking the string posix.

This PR fixes it by doing a set subset check.

On Windows, I only see `Some dependencies may be missing from your system.` even though the value of `config_value` is `('posix',)`. This is because the type comparison is wrong, it checks that the tuple `('posix',)` is in `('posix', 'bash')`, instead of checking the string `posix`.

This PR fixes it by doing a set subset check.
@nat-n
Copy link
Owner

nat-n commented Mar 16, 2024

Hey @BertrandBordage, thanks for the contribution!

@nat-n nat-n merged commit 74c23ca into nat-n:main Mar 16, 2024
19 checks passed
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

Successfully merging this pull request may close these issues.

None yet

2 participants