This repository was archived by the owner on Aug 11, 2021. It is now read-only.
Usage of node path.join
breaks IPLD paths on Windows
#99
Labels
exp/expert
Having worked on the specific codebase is important
help wanted
Seeking public contribution on this issue
kind/bug
A bug in existing code (including security flaws)
P2
Medium: Good to have, but can wait until someone steps up
status/ready
Ready to be worked
joinPath here is returning the path separated by platform-specific path separators.
The code afterwards in the resolvers is expecting forward slashes, so it doesn't work on Windows platforms.
I suggest replacing all backslashes by slashes after joinPath on Windows platforms.
The text was updated successfully, but these errors were encountered: