| hide_title | true |
|---|---|
| custom_edit_url | |
| pagination_prev | |
| pagination_next |
Home > @microsoft/rush-lib > Subspace > getCommonVersionsFilePath
This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
Gets the full path to the common-versions.json config file for this subspace.
Example (subspaces feature enabled): C:\MyRepo\common\config\subspaces\my-subspace\common-versions.json Example (subspaces feature disabled): C:\MyRepo\common\config\rush\common-versions.json
Signature:
getCommonVersionsFilePath(variant?: string): string;|
Parameter |
Type |
Description |
|---|---|---|
|
variant |
string |
(Optional) |
Returns:
string