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

make paths in plugin be system-independent #28

Merged
merged 1 commit into from
Nov 16, 2021

Conversation

osdiab
Copy link
Collaborator

@osdiab osdiab commented Nov 15, 2021

Windows uses backslashes, causing the replace of "/pages" to fail. Additionally, if any directory up to the project contained /pages in it, it would have also failed.

This just assumes that the pages directory is always a child of the relevant src directory, which I think is safe.

Closes #27

@ckastbjerg
Copy link
Owner

Cool! Nice improvement ⚡

@ckastbjerg ckastbjerg merged commit 591d9a8 into ckastbjerg:main Nov 16, 2021
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.

Types not saved in the correct place on windows
2 participants