Home > @microsoft/rush-lib > RushConfiguration > tryFindRushJsonLocation
RushConfiguration.tryFindRushJsonLocation() method
Find the rush.json location and return the path, or undefined if a rush.json can't be found.
Signature:
static tryFindRushJsonLocation(options?: ITryFindRushJsonLocationOptions): string | undefined;
Parameters
Parameter | Type | Description |
---|---|---|
options | ITryFindRushJsonLocationOptions | (Optional) |
Returns:
string | undefined