summaryrefslogtreecommitdiff
path: root/script/service/telemetry.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2021-12-30 22:15:27 +0800
committer最萌小汐 <sumneko@hotmail.com>2021-12-30 22:15:27 +0800
commitd5433249e920969365f7cc16f1fffb6b42383d29 (patch)
treeef9a5b58008e8af4a654dfd652a2d6da8e79971d /script/service/telemetry.lua
parentf5116cd44bec44e765a02b61bce478071fa048a7 (diff)
downloadlua-language-server-d5433249e920969365f7cc16f1fffb6b42383d29.zip
update
Diffstat (limited to 'script/service/telemetry.lua')
-rw-r--r--script/service/telemetry.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/script/service/telemetry.lua b/script/service/telemetry.lua
index 3093d49f..d20719b0 100644
--- a/script/service/telemetry.lua
+++ b/script/service/telemetry.lua
@@ -106,7 +106,7 @@ end)
local m = {}
function m.updateConfig(uri, value)
- validMap[uri] = value
+ validMap[uri or ''] = value
isValid = config.get(nil, 'Lua.telemetry.enable')
if isValid == false then
return