Skip to content

Commit e4c56df

Browse files
committed
Fix LSP telemetry unique machine id
Rename dotty.tracing.machineId to dotty.trace.machineId: this matches how it's named in package.json (and using the wrong name means that the machine id was not persisted across sessions)
1 parent 5c87e91 commit e4c56df

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

vscode-dotty/src/tracer.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ export class Tracer {
4545
this.maximumMessageSize = maximumMessageSize === undefined || maximumMessageSize < 0 ? 0 : maximumMessageSize | 0
4646

4747
this.machineId = (() => {
48-
const machineIdKey = 'tracing.machineId'
48+
const machineIdKey = 'trace.machineId'
4949
function persisted(value: string): string {
5050
ctx.extensionConfig.update(machineIdKey, value, vscode.ConfigurationTarget.Global)
5151
return value

0 commit comments

Comments
 (0)