This commit is contained in:
MomentQYC 2024-11-13 09:06:39 +08:00 committed by GitHub
parent 8b36b22ad1
commit 8cabd48109
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 2 deletions

View File

@ -108,12 +108,11 @@ export class AbuseReportNotificationService implements OnApplicationShutdown {
if ( if (
this.meta.maintainerEmail && this.meta.maintainerEmail &&
emailRe.test(this.meta.maintainerEmail) && emailRe.test(this.meta.maintainerEmail) &&
!recipientEMailAddresses.includes(this.meta.maintainerEmail); !recipientEMailAddresses.includes(this.meta.maintainerEmail)
) { ) {
recipientEMailAddresses.push(this.meta.maintainerEmail); recipientEMailAddresses.push(this.meta.maintainerEmail);
} }
if (recipientEMailAddresses.length <= 0) { if (recipientEMailAddresses.length <= 0) {
return; return;
} }