webgme / webgme-cli

Command line tool for managing webgme projects and dependencies
MIT License
10 stars 6 forks source link

Windows paths stored in webgme-setup.json fails on unix. #121

Closed pmeijer closed 8 years ago

pmeijer commented 8 years ago

When depending on a component from a "windows-repo" the adding fails with error due to the windows path separator.

brollb commented 8 years ago

@pmeijer Any chance you would want to try writing a test for this? It is tricky for me to replicate right now...

pmeijer commented 8 years ago

Do you have a test for adding components from another repo? If so just change the '/' to '\'.

brollb commented 8 years ago

I would rather the webgme-setup.json uses a common format. That is, I think the path separator should be corrected before writing to the webgme-setup.json and not on read.... I will see if I can write a nice unit test to catch this