Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
public static loadFromDefaultLocation(): MinimalRushConfiguration | undefined {
const rushJsonLocation: string | undefined = RushConfiguration.tryFindRushJsonLocation({ showVerbose: true });
if (rushJsonLocation) {
return MinimalRushConfiguration._loadFromConfigurationFile(rushJsonLocation);
} else {
return undefined;
}
}