From e6aa34afb5ea503212b0302dd8557fd77a75061b Mon Sep 17 00:00:00 2001 From: Martin McKeaveney Date: Thu, 20 May 2021 10:26:23 +0100 Subject: [PATCH] fix analytics code --- packages/cli/src/analytics/Client.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/cli/src/analytics/Client.js b/packages/cli/src/analytics/Client.js index d97fb1abfa..a3b43b5ea1 100644 --- a/packages/cli/src/analytics/Client.js +++ b/packages/cli/src/analytics/Client.js @@ -15,7 +15,7 @@ class AnalyticsClient { } capture(event) { - if (this.manager.config.analyticsDisabled) return + if (this.configManager.config.analyticsDisabled) return this.client.capture(event) }