Skip to content

Commit

Permalink
refactor: temporaily disable sending analytics
Browse files Browse the repository at this point in the history
(cherry picked from commit df9674b)
  • Loading branch information
dgp1130 committed Nov 15, 2022
1 parent 0fe6b3b commit 9afc5ce
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions packages/angular/cli/src/analytics/analytics-collector.ts
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,11 @@ export class AnalyticsCollector {
}

private async send(data: Record<string, PrimitiveTypes | undefined>[]): Promise<void> {
// Temporarily disable sending analytics.
if (true as boolean) {
return Promise.resolve();
}

return new Promise<void>((resolve, reject) => {
const request = https.request(
{
Expand Down

0 comments on commit 9afc5ce

Please sign in to comment.