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

Parameter Type Description
variant string | undefined The name of the current variant in use by the active command.

Returns:

string