diff options
Diffstat (limited to 'src/vs/platform/telemetry/common/telemetryUtils.ts')
-rw-r--r-- | src/vs/platform/telemetry/common/telemetryUtils.ts | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/vs/platform/telemetry/common/telemetryUtils.ts b/src/vs/platform/telemetry/common/telemetryUtils.ts index d74b997e1dd..45757fec68b 100644 --- a/src/vs/platform/telemetry/common/telemetryUtils.ts +++ b/src/vs/platform/telemetry/common/telemetryUtils.ts @@ -5,6 +5,7 @@ import { IDisposable } from 'vs/base/common/lifecycle'; import { safeStringify } from 'vs/base/common/objects'; +import { staticObservableValue } from 'vs/base/common/observableValue'; import { isObject } from 'vs/base/common/types'; import { URI } from 'vs/base/common/uri'; import { ConfigurationTarget, ConfigurationTargetToString, IConfigurationService } from 'vs/platform/configuration/common/configuration'; @@ -31,7 +32,7 @@ export class NullTelemetryServiceShape implements ITelemetryService { } setExperimentProperty() { } - telemetryLevel = TelemetryLevel.NONE; + telemetryLevel = staticObservableValue(TelemetryLevel.NONE); getTelemetryInfo(): Promise<ITelemetryInfo> { return Promise.resolve({ instanceId: 'someValue.instanceId', |