Requires
- module:/utils/processEnv
Methods
(inner) envReplace(obj) → {json}
The envReplace method finds occurances of ${...} in a stringified object and substitutes the template variables with values from matched xyzEnv variables.
The template variable ${RESOURCE} will be substituted with the xyzEnv.SRC_RESOURCE value.
Template variables not defined in the xyzEnv will not be replaced.
Parameters:
Name | Type | Description |
---|---|---|
obj | Obeckt |
- Source
Returns:
safeObject
- Type:
- json