You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In a dir with a .env containing GO_ENV=development , run
soda migrate -e test
Expected Behavior
The test environment should be used when -e test arg is given.
Actual Behavior
The development environment is used, ignoring the command line flag.
It's also surprising to me that the .env file will override GO_ENV. I.e. GO_ENV=test soda migrate will also defer to the .env file... is that intended?
I also faced this problem.
Stored environment using .env is a nice feature but command line value and environment variables always should have most priority than file given one.
$ soda reset -e testpop v6.0.2[POP] 2022/06/04 20:40:03 info - drop app_development (...)Error: couldn't drop database app_development: error dropping...
Steps to Reproduce the Problem
In a dir with a .env containing
GO_ENV=development
, runsoda migrate -e test
Expected Behavior
The
test
environment should be used when-e test
arg is given.Actual Behavior
The
development
environment is used, ignoring the command line flag.It's also surprising to me that the
.env
file will overrideGO_ENV
. I.e.GO_ENV=test soda migrate
will also defer to the.env
file... is that intended?Info
macOS 10.13.6, using latest pop (git: 0596d29)
The text was updated successfully, but these errors were encountered: