Rush StackShopBlogEvents
Skip to main content

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

RushConfiguration.getRepoStateFilePath() method

Gets the path to the repo-state.json file for a specific variant.

Signature:

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

Parameters

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

Returns:

string