Skip to content

Commit eb629f3

Browse files
committed
chore: remove 5-contact cap on security contacts
Signed-off-by: Mouad BANI <mouad-mb@outlook.com>
1 parent b3b0731 commit eb629f3

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

  • services/apps/packages_worker/src/security-contacts

services/apps/packages_worker/src/security-contacts/reconcile.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@ import {
88
SourceTier,
99
} from './types'
1010

11-
const MAX_CONTACTS = 5
12-
1311
const ROLE_PRIORITY: Record<ContactRole, number> = {
1412
'security-team': 5,
1513
maintainer: 4,
@@ -143,5 +141,5 @@ export function reconcile(contacts: RawContact[], now: Date = new Date()): Score
143141
a.value.localeCompare(b.value),
144142
)
145143

146-
return scored.slice(0, MAX_CONTACTS)
144+
return scored
147145
}

0 commit comments

Comments
 (0)