diff --git a/packages/angular/cli/src/analytics/analytics-collector.ts b/packages/angular/cli/src/analytics/analytics-collector.ts index d9f998a0056a..72759ee10d2e 100644 --- a/packages/angular/cli/src/analytics/analytics-collector.ts +++ b/packages/angular/cli/src/analytics/analytics-collector.ts @@ -161,6 +161,11 @@ 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( {