Rush StackShopBlogEvents
Skip to main content

Home > @microsoft/rush-lib > LockStepVersionPolicy > validate

LockStepVersionPolicy.validate() method

Validates the specified version and throws if the version does not satisfy lockstep version.

Signature:

validate(versionString: string, packageName: string): void;

Parameters

ParameterTypeDescription
versionStringstringversion string
packageNamestringpackage name

Returns:

void