Closed bnjbvr closed 9 years ago
(as a reminder: __dirname is the directory name from which the script is being run (or located, I'm not entirely sure). In my case, it was /usr/local/bin (or /usr/local/lib/node_modules/cozy-dev/), and running vagrant ssh-config
in these directories returned errors.)
Thx again @bnjbvr
@jsilvestre @poupotte Could you review that one and ensure that the working directory is correct?
I tested the change, it works. The issue was it was working when testing locally, but not when installed globally through npm.
@poupotte can you have a look at it too before we merged? since you wrote the code, you are the best to review it.
It's ok for me. Thanks @bnjbvr .
Thanks! Please wait a few before merging it, I still have issues...
Nope, actually an issue with my config. Feel free to merge it whenever you can ;)
We will publish all the changes tomorrow.
Otherwise, I would get an error message that there is no Vagrant instance around, even with the latest Vagrant. I've also added debug information, in case this command gets an error.