Skip to content

Commit 7a39eda

Browse files
authored
Fix crash in client module (#1506)
Temporary key name was lost outside of the switch block, resulting in an attempt to access .length of 'undefined'
1 parent fd7b691 commit 7a39eda

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Extension/src/LanguageServer/client.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,7 @@ function collectSettingsForTelemetry(filter: (key: string, val: string, settings
172172
} else {
173173
result[newKey] = "null";
174174
}
175+
key = newKey;
175176
break;
176177
}
177178
default: {

0 commit comments

Comments
 (0)