Home > @microsoft/rush-lib > EnvironmentConfiguration > validate
EnvironmentConfiguration.validate() method
This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
Reads and validates environment variables. If any are invalid, this function will throw.
Signature:
static validate(options?: IEnvironmentConfigurationInitializeOptions): void;
Parameters
Parameter | Type | Description |
---|---|---|
options | IEnvironmentConfigurationInitializeOptions | (Optional) |
Returns:
void