Rush StackShopBlogEvents
Skip to main content

Home > @microsoft/rush-lib > RushConfiguration > getCommonVersionsFilePath

RushConfiguration.getCommonVersionsFilePath() method

Gets the path to the common-versions.json config file for a specific variant.

Signature:

getCommonVersionsFilePath(variant?: string | undefined): string;

Parameters

ParameterTypeDescription
variantstring | undefined(Optional) The name of the current variant in use by the active command.

Returns:

string