summaryrefslogtreecommitdiff
path: root/server
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2018-12-18 11:33:45 +0800
committer最萌小汐 <sumneko@hotmail.com>2018-12-18 11:33:45 +0800
commit5edd8cac4cb6ad7031f4e06602f1d3a47ac54140 (patch)
treeb1b4356ca130b3eba4120d2521d25bd0b2051a69 /server
parent5aeb149056d4453c540538692b68526a958479bc (diff)
downloadlua-language-server-5edd8cac4cb6ad7031f4e06602f1d3a47ac54140.zip
文件不存在跳过就好
Diffstat (limited to 'server')
-rw-r--r--server/publish.lua1
1 files changed, 0 insertions, 1 deletions
diff --git a/server/publish.lua b/server/publish.lua
index f9e150f3..2985dd14 100644
--- a/server/publish.lua
+++ b/server/publish.lua
@@ -38,7 +38,6 @@ local function copyFiles(root, out)
local source = root / relative
local target = out / relative
if not fs.exists(source) then
- error('文件不存在: ' .. tostring(source))
return
end
if fs.is_directory(source) then