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

paths should be relative if inside of the OF directory #1

Open
ofZach opened this issue Aug 19, 2015 · 0 comments
Open

paths should be relative if inside of the OF directory #1

ofZach opened this issue Aug 19, 2015 · 0 comments

Comments

@ofZach
Copy link
Owner

ofZach commented Aug 19, 2015

this could be a setting in the settings.json, but we should convert any path inside the root of the OF location to relative to the root of OF. ie, if it's testApp in OF/apps/myApps the path should be

 apps/myApps

not absolute as it is now. this should be be possible with:

https://nodejs.org/api/path.html#path_path_relative_from_to

we could have a setting in settings.json if folks want to work with fixed paths.

If it's outside of the OF directory, I think it's better to use absolute paths (and even if we can, post a warning that the project is created relatively to OF location)

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

No branches or pull requests

1 participant