summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2021-06-21 20:48:56 +0800
committer最萌小汐 <sumneko@hotmail.com>2021-06-21 20:48:56 +0800
commiteabcaf844cee70d5a57f9baa44a167e6889a5677 (patch)
treee2431853c779fca1a6cad946d84ab0e797f767c5 /test
parenta6f0fc69d58aebcf7b217c0641e5d9c9dd406b5b (diff)
downloadlua-language-server-eabcaf844cee70d5a57f9baa44a167e6889a5677.zip
fix tests
Diffstat (limited to 'test')
-rw-r--r--test/full/projects.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/full/projects.lua b/test/full/projects.lua
index f59ad994..84a20c0d 100644
--- a/test/full/projects.lua
+++ b/test/full/projects.lua
@@ -13,6 +13,9 @@ local function doProjects(pathname)
files.removeAll()
local path = fs.path(pathname)
+ if not fs.exists(path) then
+ return
+ end
print('基准诊断目录:', path)
fsu.scanDirectory(path, function (path)