Skip to content

Latest commit

 

History

History
23 lines (16 loc) · 863 Bytes

File metadata and controls

23 lines (16 loc) · 863 Bytes
hide_title true
custom_edit_url
pagination_prev
pagination_next

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

RushConfiguration.getCurrentlyInstalledVariantAsync() method

Gets the currently-installed variant, if an installation has occurred. For Rush operations which do not take a --variant parameter, this method determines which variant, if any, was last specified when performing "rush install" or "rush update".

Signature:

getCurrentlyInstalledVariantAsync(): Promise<string | undefined>;

Returns:

Promise<string | undefined>