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

Running MIX_ENV=prod mix elixir_ls.release2 -o . deletes the whole project #1090

Open
zachdaniel opened this issue May 12, 2024 · 1 comment

Comments

@zachdaniel
Copy link

Not sure if you want to double check that the directory is non-empty and confirm, or just warn if the current working directory and the target directory are the same, just thought I'd bring it to your attention.

@zachdaniel zachdaniel changed the title Running MIX_ENV=prod mix elixir_ls.release2 -o . deletes the whole project 😆 Running MIX_ENV=prod mix elixir_ls.release2 -o . deletes the whole project May 12, 2024
@jbgreer
Copy link

jbgreer commented May 31, 2024

More generally: MIX_ENV=prod mix elixir_ls.release2 -o will first erase everything in the specific release directory before installing elixir-ls. I presume this is intended to clean up a previously installed version. Thankfully I was able to restore the files I deleted.

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