summaryrefslogtreecommitdiff
path: root/server
diff options
context:
space:
mode:
authorsumneko <sumneko@hotmail.com>2019-04-18 09:37:41 +0800
committersumneko <sumneko@hotmail.com>2019-04-18 09:37:41 +0800
commitedc5ccf6a3372aaec72c579f260d6bd6f7927486 (patch)
tree4bef576bd7fef6d34c8db8db9e2b0c4e298eb0d6 /server
parent74ce6fb24d403c7a66806f51ee526fb3ed3139e7 (diff)
downloadlua-language-server-edc5ccf6a3372aaec72c579f260d6bd6f7927486.zip
修正一个日志错误
Diffstat (limited to 'server')
-rw-r--r--server/src/workspace.lua6
1 files changed, 0 insertions, 6 deletions
diff --git a/server/src/workspace.lua b/server/src/workspace.lua
index 69ae54ec..16649939 100644
--- a/server/src/workspace.lua
+++ b/server/src/workspace.lua
@@ -162,12 +162,6 @@ function mt:scanFiles()
return
end
self._loadFileRequest:push(path:string())
- elseif mode == 'file' then
- local file = ...
- local path = fs.path(file.path)
- if not self:isLuaFile(path) then
- return
- end
count = count + 1
elseif mode == 'stop' then
log.info('扫描文件任务中断')