Skip to content

Latest commit

 

History

History
58 lines (31 loc) · 1.04 KB

File metadata and controls

58 lines (31 loc) · 1.04 KB
hide_title true
custom_edit_url
pagination_prev
pagination_next

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

RushConfiguration.tryGetProjectForPath() method

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;

Parameters

Parameter

Type

Description

currentFolderPath

string

Returns:

RushConfigurationProject | undefined