Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/client/activation/extensionSurvey.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,14 +59,14 @@ export class ExtensionSurveyPrompt implements IExtensionSingleActivationService
return false;
}

let feedbackDisabled = false;
let feedbackEnabled = false;

const telemetryConfig = this.workspace.getConfiguration('telemetry');
if (telemetryConfig) {
feedbackDisabled = telemetryConfig.get<boolean>('disableFeedback', false);
feedbackEnabled = telemetryConfig.get<boolean>('feedback.enabled', true);
}

if (feedbackDisabled) {
if (!feedbackEnabled) {
return false;
}

Expand Down
Loading