-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Fix activator path in cygwin and msys2 #1946
Conversation
Codecov Report
@@ Coverage Diff @@
## master #1946 +/- ##
==========================================
- Coverage 93.92% 85.57% -8.35%
==========================================
Files 86 86
Lines 4228 4237 +9
==========================================
- Hits 3971 3626 -345
- Misses 257 611 +354
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
Closes #1940. In cygwin and MSYS2, the path is in POSIX format. This PR converts the Windows path to POSIX format using a regex so that it is added to the bash activation script in the correct format.
@gaborbernat I have updated the PR with the regex 👍 |
Write a uni test. Mock |
@gaborbernat Thanks for the feedback, I have been exploring how to structure mock tests since I don't have much experience mocking things out. I'm hoping to finish it this weekend. Can we reopen this PR? |
@danyeaw I did not close this PR on purpose. Was a side-effect of renaming the default branch to main. Please reopen the PR against the main branch. Sorry. |
@gaborbernat No problem, I like the main branch rename! I have submitted #1952. |
Closes #1940. In cygwin and MSYS2, the path is in POSIX format. This PR converts the Windows path to POSIX format using the cygpath utility so that it is added to the bash activation script in the correct format.
Thanks for contributing, make sure you address all the checklists (for details on how see
development documentation)!
tox -e fix_lint
)docs/changelog
folder