talawa-api / Exports / setup/updateEnvVariable
Module: setup/updateEnvVariable
Table of contents
Functions
Functions
updateEnvVariable
▸ updateEnvVariable(config
): void
The function updateEnvVariable
updates the values of environment variables in a .env file based on the provided
configuration object.
Parameters
Name | Type | Description |
---|---|---|
config | Object | An object that contains key-value pairs where the keys are strings and the values can be either strings or numbers. These key-value pairs represent the environment variables that need to be updated. |
Returns
void