summaryrefslogtreecommitdiff
path: root/server/test.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2019-06-15 18:45:05 +0800
committer最萌小汐 <sumneko@hotmail.com>2019-06-15 18:45:05 +0800
commit4eadbf384b56c6106f98cefa173faab6e5b0a6fb (patch)
tree5df5586871e36f0072e187ab682a7958ca6e99bd /server/test.lua
parenta5835c7d4e49aedfb2391ba442df2a2958f6db4c (diff)
downloadlua-language-server-4eadbf384b56c6106f98cefa173faab6e5b0a6fb.zip
修正log中显示的路径错误
Diffstat (limited to 'server/test.lua')
-rw-r--r--server/test.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/test.lua b/server/test.lua
index c1d128f1..7068b072 100644
--- a/server/test.lua
+++ b/server/test.lua
@@ -10,7 +10,7 @@ package.path = rootPath .. 'src/?.lua'
local fs = require 'bee.filesystem'
local subprocess = require 'bee.subprocess'
-ROOT = fs.path(rootPath)
+ROOT = fs.absolute(fs.path(rootPath))
local function runTest(root)
local is_macos = package.cpath:sub(-3) == '.so'