Skip to main content

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

NameTypeDescription
configObjectAn 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

Defined in

src/setup/updateEnvVariable.ts:11