elixir-ls icon indicating copy to clipboard operation
elixir-ls copied to clipboard

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

Open zachdaniel opened this issue 9 months ago • 1 comments

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 avatar May 12 '24 20:05 zachdaniel

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.

jbgreer avatar May 31 '24 21:05 jbgreer