summaryrefslogtreecommitdiff
path: root/script/service
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2020-12-21 21:12:41 +0800
committer最萌小汐 <sumneko@hotmail.com>2020-12-21 21:12:41 +0800
commit02d6e1d8884e5e7792b1bcb2b0944abe01b8e6a1 (patch)
tree9b2f8e6a26d7bc3f26c73749050283c1906b35c8 /script/service
parent29a4ef47a1c5be6cc9edd3296b49ea412abe78ed (diff)
downloadlua-language-server-02d6e1d8884e5e7792b1bcb2b0944abe01b8e6a1.zip
telemetry: collect platfrom
Diffstat (limited to 'script/service')
-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 85a8b8b4..8f2bec8d 100644
--- a/script/service/telemetry.lua
+++ b/script/service/telemetry.lua
@@ -36,7 +36,7 @@ local function pushClientInfo(link)
end
local function pushPlatformInfo(link)
- send(link, string.pack('zzz'
+ send(link, string.pack('zzzzz'
, 'platform'
, token
, ('%s %s'):format(platform.OS, platform.Arch)