From 8cabd48109383915721c16cc15706d26f1088a68 Mon Sep 17 00:00:00 2001 From: MomentQYC <62551256+MomentQYC@users.noreply.github.com> Date: Wed, 13 Nov 2024 09:06:39 +0800 Subject: [PATCH] style --- packages/backend/src/core/AbuseReportNotificationService.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/backend/src/core/AbuseReportNotificationService.ts b/packages/backend/src/core/AbuseReportNotificationService.ts index 9e8c6fb77a..a1d5fedfca 100644 --- a/packages/backend/src/core/AbuseReportNotificationService.ts +++ b/packages/backend/src/core/AbuseReportNotificationService.ts @@ -108,12 +108,11 @@ export class AbuseReportNotificationService implements OnApplicationShutdown { if ( this.meta.maintainerEmail && emailRe.test(this.meta.maintainerEmail) && - !recipientEMailAddresses.includes(this.meta.maintainerEmail); + !recipientEMailAddresses.includes(this.meta.maintainerEmail) ) { recipientEMailAddresses.push(this.meta.maintainerEmail); } - if (recipientEMailAddresses.length <= 0) { return; }