Thanks for this information. When this article was written, it was using env-cmd version 8.0.2. It was not required -f option. I also just tested the latest version which is 9.0.3 without the parameter and caused an issue. As a result, when pointing a custom env file, it is required. Thank you so much @foxbit19
.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Thanks for your article! I think
env-cmdneeds-fargument to load the custom file correctly. Otherwise it fails and load.envfile by default.Thanks for this information. When this article was written, it was using
env-cmdversion 8.0.2. It was not required-foption. I also just tested the latest version which is 9.0.3 without the parameter and caused an issue. As a result, when pointing a customenvfile, it is required. Thank you so much @foxbit19 .