summaryrefslogtreecommitdiff
path: root/server/src/lsp.lua
diff options
context:
space:
mode:
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