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

fix(explorer): normalize folder path #2329

Open
wants to merge 5 commits into
base: dev
Choose a base branch
from

Conversation

smailio
Copy link
Contributor

@smailio smailio commented Feb 5, 2025

Since we converted folder to Posix path Study we also need to convert paths returned by the explorer api.

@smailio smailio changed the title Fix/2547 normalize folder path fix(explorer): normalize folder path Feb 5, 2025
Copy link
Contributor

@MartinBelthle MartinBelthle left a 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

@smailio
Copy link
Contributor Author

smailio commented Feb 7, 2025

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 ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants