From 7a39edaf65b74d1f2a95e823c4999afc932961f9 Mon Sep 17 00:00:00 2001 From: Bob Brown Date: Wed, 31 Jan 2018 14:29:16 -0800 Subject: [PATCH] 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' --- Extension/src/LanguageServer/client.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/Extension/src/LanguageServer/client.ts b/Extension/src/LanguageServer/client.ts index be5677f353..3b661bbbb4 100644 --- a/Extension/src/LanguageServer/client.ts +++ b/Extension/src/LanguageServer/client.ts @@ -172,6 +172,7 @@ function collectSettingsForTelemetry(filter: (key: string, val: string, settings } else { result[newKey] = "null"; } + key = newKey; break; } default: {