diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2022-06-29 17:49:53 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2022-06-29 17:49:53 +0800 |
commit | 31329202cbab5dc96104661f4a8a011d3757ef7f (patch) | |
tree | 4650ca67ee3c9d43d01fed5830a32c076a9007b1 /script | |
parent | e5f07d0c9830afdfa1ce3b354a123212e5837526 (diff) | |
download | lua-language-server-31329202cbab5dc96104661f4a8a011d3757ef7f.zip |
resove warning
Diffstat (limited to 'script')
-rw-r--r-- | script/jsonrpc.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/script/jsonrpc.lua b/script/jsonrpc.lua index 91d6c9dd..7411fee8 100644 --- a/script/jsonrpc.lua +++ b/script/jsonrpc.lua @@ -50,6 +50,7 @@ function m.decode(reader) if not content then return nil, 'Proto read error' end + ---@type any local null = json.null json.null = nil local suc, res = pcall(json.decode, content) |