geostyler / geostyler-cli

BSD 2-Clause "Simplified" License
24 stars 10 forks source link

Handle Windows paths #195

Closed geographika closed 2 years ago

geographika commented 2 years ago

Fix for #194

jansule commented 2 years ago

Would it make sense to use the NodeJs path utility here?

KaiVolland commented 2 years ago

@slafayIGN fix a similiar issue with the path package: https://github.com/geostyler/geostyler/pull/1727/files

geographika commented 2 years ago

I've switched to the path module as described in https://stackoverflow.com/a/63251716 The user enters the path from the command line so it isn't possible to build a path from code directly.

KaiVolland commented 2 years ago

I tried it on linux and it all seems to work. Thanks!