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

Force fetch creates results at inconsistent location #378

Open
jeffhube opened this issue Mar 2, 2017 · 2 comments
Open

Force fetch creates results at inconsistent location #378

jeffhube opened this issue Mar 2, 2017 · 2 comments

Comments

@jeffhube
Copy link

jeffhube commented Mar 2, 2017

If I run force fetch -t ApexClass, it creates two directories in the working directory: src, which is empty, and metadata, which contains package.xml and the classes directory. If I then run the same command again, the package.xml and classes directory are now created in the src folder instead.

v0.22.64 on Windows 10

@jeffhube
Copy link
Author

jeffhube commented Mar 2, 2017

Looking at https://github.com/heroku/force/blob/7a0d36e775d1ac3c68d77dd644be1002209243d0/config.go#L60 , these two directories are supposed to be symlinked, which won't work on Windows by default unless running as admin.

It would be nice if the output were consistently written to either src or metadata, to avoid this weird behavior when symlinking fails.

@dcarroll
Copy link
Contributor

dcarroll commented Mar 2, 2017 via email

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

2 participants