Update plugins/catalog-backend/src/ingestion/processors/codeowners/resolve.ts
Co-authored-by: Fredrik Adelöw <freben@gmail.com> Signed-off-by: Iain Billett <iain@roadie.io>
This commit is contained in:
@@ -42,7 +42,7 @@ export function normalizeCodeOwner(owner: string) {
|
||||
if (owner.match(GROUP_PATTERN)) {
|
||||
return owner.split('/')[1];
|
||||
} else if (owner.match(USER_PATTERN)) {
|
||||
return `user:${owner.substring(1)}`;
|
||||
return `User:${owner.substring(1)}`;
|
||||
} else if (owner.match(EMAIL_PATTERN)) {
|
||||
return owner.split('@')[0];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user