Fix the ValidOwner checker:
problem was that in validateTeam function we used GetName() instead of GetSlug(). Slug is normalized team name which is always used in codeowners file, e.g. team name Technical Writers is normalized to technical-writers and such name is used in codeowners file.
Description
Changes proposed in this pull request:
validateTeam
function we used GetName() instead of GetSlug(). Slug is normalized team name which is always used in codeowners file, e.g. team name Technical Writers is normalized to technical-writers and such name is used in codeowners file.Related issue(s)
Resolves: https://github.com/mszostok/codeowners-validator/issues/1