From edc5ccf6a3372aaec72c579f260d6bd6f7927486 Mon Sep 17 00:00:00 2001 From: sumneko Date: Thu, 18 Apr 2019 09:37:41 +0800 Subject: =?UTF-8?q?=E4=BF=AE=E6=AD=A3=E4=B8=80=E4=B8=AA=E6=97=A5=E5=BF=97?= =?UTF-8?q?=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- server/src/workspace.lua | 6 ------ 1 file changed, 6 deletions(-) (limited to 'server/src') 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('扫描文件任务中断') -- cgit v1.2.3