Rush StackShopBlogEvents
Skip to main content

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

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

Returns:

RepoStateFile