summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--script/jsonrpc.lua1
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)