-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
processEnv - initial module; #1796
base: minor
Are you sure you want to change the base?
Conversation
Can you move the mapp_env module to the mod/utils directory and rename this to processEnv since this isn't really related to the mapp library but deals with the process environment for the xyz node modules. Can you also move the globale env typedef from the api module into the processEnv utility module. I had a look at the sonarcloud issues. This can be fixed by assigning true or false boolean in the processEnv module. |
You can fix the optional chaining warning like so: |
I have some ideas for us avoiding importing the env utility module everywhere. I will do this tomorrow |
Quality Gate passedIssues Measures |
Introducing a process env module which passes environment variables and assigns defaults in order to avoid referencing process.env across the codebase.