From 3661b3031da270b3229e2aa9f227ed2d42179f49 Mon Sep 17 00:00:00 2001 From: Doug Parker Date: Wed, 18 Jan 2023 09:30:14 -0800 Subject: [PATCH] Revert "refactor: temporaily disable sending analytics" This reverts commit df9674bd361b46b1275eed98e503f8897e701af5. Re-enables anayltics. (cherry picked from commit f7c78dd3843dc69ca58df9f21b55d82e82d3cc07) --- packages/angular/cli/src/analytics/analytics-collector.ts | 5 ----- 1 file changed, 5 deletions(-) diff --git a/packages/angular/cli/src/analytics/analytics-collector.ts b/packages/angular/cli/src/analytics/analytics-collector.ts index 1347481fd87d..e92cc591af19 100644 --- a/packages/angular/cli/src/analytics/analytics-collector.ts +++ b/packages/angular/cli/src/analytics/analytics-collector.ts @@ -163,11 +163,6 @@ export class AnalyticsCollector { } private async send(data: Record[]): Promise { - // Temporarily disable sending analytics. - if (true as boolean) { - return Promise.resolve(); - } - return new Promise((resolve, reject) => { const request = https.request( {