| hide_title | true |
|---|---|
| custom_edit_url | |
| pagination_prev | |
| pagination_next |
Home > @microsoft/rush-lib > RushConfiguration > tryGetProjectForPath
Returns the project for which the specified path is underneath that project's folder. If the path is not under any project's folder, returns undefined.
Signature:
tryGetProjectForPath(currentFolderPath: string): RushConfigurationProject | undefined;|
Parameter |
Type |
Description |
|---|---|---|
|
currentFolderPath |
string |
Returns:
RushConfigurationProject | undefined