diff --git a/package-lock.json b/package-lock.json index 881fa23935..a49d4df5dc 100644 --- a/package-lock.json +++ b/package-lock.json @@ -10404,9 +10404,9 @@ } }, "tas-client": { - "version": "0.0.875", - "resolved": "https://registry.npmjs.org/tas-client/-/tas-client-0.0.875.tgz", - "integrity": "sha512-Y375pAWdOAFKAs2gZHVC3SAxGp8vHNRTpl7W6rBaB8YgZbAX0h0NHUubqHtyuNwH6VF9qy2ckagsuXZP0JignQ==", + "version": "0.0.950", + "resolved": "https://registry.npmjs.org/tas-client/-/tas-client-0.0.950.tgz", + "integrity": "sha512-AvCNjvfouxJyKln+TsobOBO5KmXklL9+FlxrEPlIgaixy1TxCC2v2Vs/MflCiyHlGl+BeIStP4oAVPqo5c0pIA==", "requires": { "axios": "^0.19.0" } @@ -11774,11 +11774,11 @@ } }, "vscode-tas-client": { - "version": "0.0.864", - "resolved": "https://registry.npmjs.org/vscode-tas-client/-/vscode-tas-client-0.0.864.tgz", - "integrity": "sha512-mRMpeTVQ8Rx3p4yF9y8AABanzbqtLRdJA99dzeQ9MdIHsSEdp0kEwxqayzDhNHDdp8vNbQkHN8zMxSvm/ZWdpg==", + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/vscode-tas-client/-/vscode-tas-client-0.1.4.tgz", + "integrity": "sha512-sC+kvLUwb6ecC7+ZoxzDtvvktVUJ3jZq6mvJpfYHeLlbj4hUpNsZ79u65/mukoO8E8C7UQUCLdWdyn/evp+oNA==", "requires": { - "tas-client": "0.0.875" + "tas-client": "0.0.950" } }, "vscode-test": { diff --git a/package.json b/package.json index fd32190a1e..0f1a0ed541 100644 --- a/package.json +++ b/package.json @@ -2649,7 +2649,7 @@ "vscode-azureextensionui": "^0.33.6", "vscode-languageclient": "^6.1.3", "vscode-nls": "^4.1.2", - "vscode-tas-client": "^0.0.864", + "vscode-tas-client": "^0.1.4", "xml2js": "^0.4.23" } } diff --git a/src/telemetry/surveys/awareness.ts b/src/telemetry/surveys/awareness.ts index e82b801029..9b53477021 100644 --- a/src/telemetry/surveys/awareness.ts +++ b/src/telemetry/surveys/awareness.ts @@ -3,7 +3,6 @@ * Licensed under the MIT License. See License.md in the project root for license information. *--------------------------------------------------------------------------------------------*/ -import * as vscode from 'vscode'; import { ext } from '../../extensionVariables'; import { localize } from '../../localize'; import { Survey } from './SurveyManager'; @@ -24,7 +23,6 @@ async function isEligible(): Promise { const overallActivity = ext.activityMeasurementService.getActivityMeasurement('overall'); const noEditActivity = ext.activityMeasurementService.getActivityMeasurement('overallnoedit'); - return (vscode.env.language === 'en' || vscode.env.language.startsWith('en-')) && - overallActivity.totalSessions >= minimumOverallSessions && + return overallActivity.totalSessions >= minimumOverallSessions && noEditActivity.totalSessions <= maximumNotEditOnlySessions; }