Skip to content

Conversation

oz123
Copy link
Contributor

@oz123 oz123 commented Sep 1, 2024

I introduced a silly bug - with some major consequeces - in #6215.

First, I forgot to include brackets in endswith. Second, I added a "/" as if the command should be /bin/bash or /usr/bin/bash, which in Windows will be '/'. This is actually not needed and detecting the shell based on the last word (the command) without the path, should be fine on all OSs.

@oz123 oz123 requested a review from matteius September 1, 2024 20:19
@oz123 oz123 mentioned this pull request Sep 1, 2024
@oz123 oz123 force-pushed the fix-shell-detection branch from b4de965 to 6b4b8f3 Compare September 13, 2024 19:40
@oz123 oz123 requested a review from matteius September 13, 2024 19:41
@matteius matteius merged commit d30e24c into main Sep 13, 2024
19 checks passed
@matteius matteius deleted the fix-shell-detection branch September 13, 2024 20:30
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.

2 participants