Commit 471c9ed
committed
refactor(config): remove use of test-only member in EnvironmentConfig
Removes the iteration over `_env.map` to resolve an `invalid_use_of_visible_for_testing_member` warning. The `.map` getter in the `dotenv` package is intended for testing only.
This change respects the dependency's API contract, making the configuration loading more robust and removing the lint warning. The error message for a missing `DATABASE_URL` remains clear and actionable.1 parent 885379e commit 471c9ed
1 file changed
+1
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
| 27 | + | |
33 | 28 | | |
34 | 29 | | |
35 | 30 | | |
| |||
0 commit comments