Open jagthedrummer opened 6 days ago
Hi @jagthedrummer, this is definitely a bug. The intention is to just append or update specific keys in the .env, without affect the existing content. Apologies for the inconvenience caused by this bug.
A fix for this issue will be released in the next CLI version (3.70), it should be out in a couple weeks.
I have a
.env
file in my project for configuring a number of development/local ENV vars. After runningshopify app deploy
this file was clobbered and all of the organization within the file is gone and all of the comments documenting exactly what each value represents were removed. The file is not under source control since it contains secrets, so now all of that is just gone. This feels extremely hostile.