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
Though doing process.env['some_env'] with hard coded strings is considered bad practice, this is probably something envify would want to catch nevertheless. @monsanto would you be willing to create a PR that implements this?
On the 'bad practice' note, I actually have a great use case: I have a pretty large multidimensional object that I want exposed to envify. Using strings + flat allows simple and easy access to the entire object.
Example in the wild: https://github.com/petkaantonov/bluebird/blob/261b65805a71deaf37ad48b3cacb71ab7cedd97a/src/debuggability.js#L12
The text was updated successfully, but these errors were encountered: