-
Notifications
You must be signed in to change notification settings - Fork 6
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(explorer): normalize folder path #2329
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could be nice to add a test. Otherwise looks good to me
I think it's not that relevant. To test this I'd have to patch pathlib dir so it returns a Windows path, then I could check this path is indeed converted to a Posix paths. But this case is already covered by the github action that runs tests on windows no ? |
Not sure to understand. From my understanding you changed the NonStudyFolder |
Yeah you're right. I meant the case where the NonStudyFolder take as an input a WindowsPath is covered by the windows tests, but it's true that we need to have a test that would fail in the windows CI before this dev. |
Since we converted folder to Posix path Study we also need to convert paths returned by the explorer api.