areaForScope
areaForScope(
scope,scopes):string|undefined
Defined in: cli/cli/src/area-labels/area-for-scope/area-for-scope.ts:6
The area a title scope means, by repo.labels.scopes (spec tech-github-area-labels): sentinel gives the area it is
mapped to. The scope is matched without regard to case; a scope the map does not name, or a repo with no map, gives
undefined. It is the area’s name, not its label: areaLabelsForTitle() adds the prefix.
Parameters
Section titled “Parameters”string
scopes
Section titled “scopes”Record<string, string> | undefined
Returns
Section titled “Returns”string | undefined