summaryrefslogtreecommitdiff
path: root/server/publish.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2019-08-28 20:49:54 +0800
committer最萌小汐 <sumneko@hotmail.com>2019-08-28 20:49:54 +0800
commit1c7f461c70fbcf6937097e55aae0fc1ff0645f65 (patch)
tree180391ff99e3b795203c0bc19bc0cc601232e483 /server/publish.lua
parent1e878722b14c0a2448a494ea8ad475ddefeda659 (diff)
downloadlua-language-server-1c7f461c70fbcf6937097e55aae0fc1ff0645f65.zip
测试放到外面
Diffstat (limited to 'server/publish.lua')
-rw-r--r--server/publish.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/publish.lua b/server/publish.lua
index b0040641..149d54d6 100644
--- a/server/publish.lua
+++ b/server/publish.lua
@@ -10,7 +10,7 @@ package.path = rootPath .. 'src/?.lua'
local fs = require 'bee.filesystem'
local subprocess = require 'bee.subprocess'
-ROOT = fs.absolute(fs.path(rootPath))
+ROOT = fs.absolute(fs.path(rootPath):parent_path())
EXTENSION = fs.absolute(fs.path(rootPath .. '..'))
require 'utility'