Closed JoshCheek closed 8 years ago
This isn't technically a bug, it's doing what it's supposed to (running the code from the invoker's CWD). It's unexpected because the CWD happens to be root, and the user does not have permissions to save files there. Probably the right thing to do is update editor integrations to cd to the project root or to a temp dir. Maybe the right thing to do is provide a "you figure it out, SiB" flag, since there's some reasonable default behaviour that can be handled by, eg the binary, rather than figuring out how to implement it in every editor that invokes it.
Closing because this a duplicate of #45