mszostok/codeowners-validator

White space characters in Team Name

Closed this issue · 1 comments

Description

The Code owners doc, states the syntax rules (minus a few exceptions) should be honored. The GitIgnore documentation states we should use the forward slash \ for escaping white space characters.

Upon providing the escape the tool reports the owners file is invalid.

example:
/Root/Feature/ @orginization/Team\ A

Expected result

The code owners file is valid if it has an escape character prefixing a space

Actual result

File is marked as invalid.

Steps to reproduce

Add a owner with a name that has a white space character.

Screenshot 2024-02-21 at 12 32 46 PM

wrong code owner validation repo apologies.