From 2d9ce7a106a0d94d9ca360a994340fe95e520804 Mon Sep 17 00:00:00 2001 From: Claude Date: Tue, 28 Oct 2025 21:27:28 +0000 Subject: [PATCH] style(dirt): format orchestrator service with prettier Apply prettier formatting to orchestrator service file. No functional changes, only code style improvements. Related to PM-27284 --- .../risk-insights-orchestrator.service.ts | 26 +++++++------------ 1 file changed, 10 insertions(+), 16 deletions(-) diff --git a/bitwarden_license/bit-common/src/dirt/reports/risk-insights/services/domain/risk-insights-orchestrator.service.ts b/bitwarden_license/bit-common/src/dirt/reports/risk-insights/services/domain/risk-insights-orchestrator.service.ts index 7feec4a29d4..5d0308dc5a0 100644 --- a/bitwarden_license/bit-common/src/dirt/reports/risk-insights/services/domain/risk-insights-orchestrator.service.ts +++ b/bitwarden_license/bit-common/src/dirt/reports/risk-insights/services/domain/risk-insights-orchestrator.service.ts @@ -101,8 +101,8 @@ export class RiskInsightsOrchestratorService { .filter((app) => app.reviewedDate === null) .map((app) => app.applicationName); }), - distinctUntilChanged((prev, curr) => - prev.length === curr.length && prev.every((app, i) => app === curr[i]), + distinctUntilChanged( + (prev, curr) => prev.length === curr.length && prev.every((app, i) => app === curr[i]), ), shareReplay({ bufferSize: 1, refCount: true }), ); @@ -360,12 +360,9 @@ export class RiskInsightsOrchestratorService { * @returns Observable of updated ReportState */ saveApplicationReviewStatus$(selectedCriticalApps: string[]): Observable { - this.logService.info( - "[RiskInsightsOrchestratorService] Saving application review status", - { - criticalAppsCount: selectedCriticalApps.length, - }, - ); + this.logService.info("[RiskInsightsOrchestratorService] Saving application review status", { + criticalAppsCount: selectedCriticalApps.length, + }); return this.rawReportData$.pipe( take(1), @@ -389,14 +386,11 @@ export class RiskInsightsOrchestratorService { }, } as ReportState; - this.logService.debug( - "[RiskInsightsOrchestratorService] Updated review status", - { - totalApps: updatedApplicationData.length, - reviewedApps: updatedApplicationData.filter((app) => app.reviewedDate !== null).length, - criticalApps: updatedApplicationData.filter((app) => app.isCritical).length, - }, - ); + this.logService.debug("[RiskInsightsOrchestratorService] Updated review status", { + totalApps: updatedApplicationData.length, + reviewedApps: updatedApplicationData.filter((app) => app.reviewedDate !== null).length, + criticalApps: updatedApplicationData.filter((app) => app.isCritical).length, + }); return { reportState, organizationDetails, updatedState, userId }; }),