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 | (Optional) The name of the current variant in use by the active command. |
Returns: