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

RushConfiguration.getRepoState() method

Gets the contents from the repo-state.json file for a specific variant.

Signature:

getRepoState(variant?: string | undefined): RepoStateFile;

Parameters

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

Returns:

RepoStateFile