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
minor #43697 [Dotenv] Fix testLoadEnv() .env.dist isolation (fancyweb)
This PR was merged into the 4.4 branch.
Discussion
----------
[Dotenv] Fix testLoadEnv() .env.dist isolation
| Q | A
| ------------- | ---
| Branch? | 4.4
| Bug fix? | no
| New feature? | no
| Deprecations? | no
| Tickets | -
| License | MIT
| Doc PR | -
Sorry but I did not catch everything in the first one.
When `.env.dist` is tested, `.env.local` , `.env.dev` and `.env.dev.local` still exists and "override" defined vars in `.env.dist`. I guess that's why you used another var (`BAR`). It makes more sense to me to actually test it "in isolation" since we don't test anything about the override right now.
Also, I applied some minor changes to minimize the diff on changes I'm working on for adding `$overrideExistingVars` to `loadEnv()` and `bootEnv()`.
Commits
-------
ae63960 [Dotenv] Fix testLoadEnv() .env.dist isolation
0 commit comments