Skip to content

Commit eb0f1a1

Browse files
committed
chore: ensure analytics is disabled
1 parent a3721b1 commit eb0f1a1

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

lib/options.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ export class Options {
213213
default: { type: OptionType.Boolean, hasSensitiveValue: false },
214214
count: { type: OptionType.Number, hasSensitiveValue: false },
215215
analyticsLogFile: { type: OptionType.String, hasSensitiveValue: true },
216-
disableAnalytics: { type: OptionType.Boolean, hasSensitiveValue: false },
216+
disableAnalytics: { type: OptionType.Boolean, hasSensitiveValue: false, default: true },
217217
cleanupLogFile: { type: OptionType.String, hasSensitiveValue: true },
218218
hooks: {
219219
type: OptionType.Boolean,

lib/services/analytics/analytics-service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ export class AnalyticsService implements IAnalyticsService, IDisposable {
7070
isInteractive()
7171
) {
7272
const message = `Do you want to help us improve ${this.$analyticsSettingsService.getClientName()} by automatically sending anonymous usage statistics? We will not use this information to identify or contact you.`;
73-
trackFeatureUsage = await this.$prompter.confirm(message, () => true);
73+
trackFeatureUsage = await this.$prompter.confirm(message, () => false);
7474
await this.setStatus(
7575
this.$staticConfig.TRACK_FEATURE_USAGE_SETTING_NAME,
7676
trackFeatureUsage

0 commit comments

Comments
 (0)