Closed melardev closed 3 years ago
Hi @melardev, thank you for opening a pull request on this, we have seen your commit and we really appreciate your showing us this tip for cross-platform filepath management. Feel free to give us fleex feedback at any time.
Best regards, xm1k3
Hi, "path" uses "/" as path separator regardless of the platform where we are compiling which may have undesired effects, better use "filepath" which is cross-platform. I tweeted once about an app that "stopped" working on Windows, the reason was exactly that.
https://twitter.com/melardev/status/1327761725664489472
Someone also blogged about it: https://parsiya.net/blog/2019-03-09-path.join-considered-harmful/