summaryrefslogtreecommitdiff
path: root/server/src/lsp.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2018-11-30 11:09:58 +0800
committer最萌小汐 <sumneko@hotmail.com>2018-11-30 11:09:58 +0800
commit2ba16469b5c0fd91c2c1723bd1502c00d2873151 (patch)
tree763d57d166cb53d8f3e91438c0f1e70b1d443d0f /server/src/lsp.lua
parent5443df1c3cd7c5125e6a641e0d408b3e8b8cec06 (diff)
downloadlua-language-server-2ba16469b5c0fd91c2c1723bd1502c00d2873151.zip
不需要回应
Diffstat (limited to 'server/src/lsp.lua')
-rw-r--r--server/src/lsp.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/src/lsp.lua b/server/src/lsp.lua
index b94e4fbb..01aa8814 100644
--- a/server/src/lsp.lua
+++ b/server/src/lsp.lua
@@ -92,7 +92,7 @@ function mt:_readProtoContent(header)
}
end
end
- if not response then
+ if response == nil then
log.error(err or ('没有回应:' .. method))
end
return true