diff --git a/src/labeler.ts b/src/labeler.ts index 4d9c7698..14487d98 100644 --- a/src/labeler.ts +++ b/src/labeler.ts @@ -106,10 +106,10 @@ async function getMatchConfigs( configurationPath ); - // loads (hopefully) a `{[label:string]: string | StringOrMatchConfig[]}`, but is `any`: + // loads (hopefully) a `{[label:string]: MatchConfig[]}`, but is `any`: const configObject: any = yaml.load(configurationContent); - // transform `any` => `Map` or throw if yaml is malformed: + // transform `any` => `Map` or throw if yaml is malformed: return getLabelConfigMapFromObject(configObject); }