提交 fd296512 编写于 作者: J Johannes Rieken

don't send vm hint as common property

上级 e8c9db13
......@@ -9,7 +9,7 @@ import { TPromise } from 'vs/base/common/winjs.base';
import * as errors from 'vs/base/common/errors';
import * as uuid from 'vs/base/common/uuid';
import { IStorageService } from 'vs/platform/storage/common/storage';
import { getMachineId, virtualMachineHint } from 'vs/base/node/id';
import { getMachineId } from 'vs/base/node/id';
import { resolveCommonProperties, machineIdStorageKey } from '../node/commonProperties';
const SQM_KEY: string = '\\Software\\Microsoft\\SQMClient';
......@@ -19,7 +19,6 @@ export function resolveWorkbenchCommonProperties(storageService: IStorageService
result['common.version.shell'] = process.versions && (<any>process).versions['electron'];
result['common.version.renderer'] = process.versions && (<any>process).versions['chrome'];
result['common.osVersion'] = os.release();
result['common.virtualMachineHint'] = virtualMachineHint.value().toString();
const lastSessionDate = storageService.get('telemetry.lastSessionDate');
const firstSessionDate = storageService.get('telemetry.firstSessionDate') || new Date().toUTCString();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册