Function getEnvVariableValueOrDefault

  • Get the value of an environment variable or if not found a default value. If the value is a (relative) path a configuration directory path needs to be supplied to get the correct value.

    Returns

    The value or default value of the environment variable.

    Parameters

    • envVariable: EnvVariable

      The environment variable.

    • configDir: string

      The configuration directory for correct relative file paths.

    Returns string

Generated using TypeDoc